1 | --- libraries/source/spidermonkey/build.sh.orig 2014-09-20 13:27:43 UTC
|
---|
2 | +++ libraries/source/spidermonkey/build.sh
|
---|
3 | @@ -66,6 +66,14 @@
|
---|
4 |
|
---|
5 | cd mozjs24/js/src
|
---|
6 |
|
---|
7 | +cp jsnativestack.cpp jsnativestack.cpp.orig
|
---|
8 | +sed 's/# include <pthread_np.h>/#pragma GCC visibility push(default)\
|
---|
9 | +#include <pthread_np.h>\
|
---|
10 | +#pragma GCC visibility pop/' jsnativestack.cpp.orig >jsnativestack.cpp
|
---|
11 | +
|
---|
12 | +cp configure configure.orig
|
---|
13 | +sed 's/"$ac_cv_have_visibility_class_bug" = "no"; then/"$ac_cv_have_visibility_class_bug" = "no" -a "$OS_ARCH" != "FreeBSD" ; then/' configure.orig >configure
|
---|
14 | +
|
---|
15 | # We want separate debug/release versions of the library, so we have to change
|
---|
16 | # the LIBRARY_NAME for each build.
|
---|
17 | # (We use perl instead of sed so that it works with MozillaBuild on Windows,
|
---|