diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-08 12:58:54 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-08 12:58:54 +0100 |
commit | f3e1c3cf993b0ba54afa0ff9552ffefd39828b23 (patch) | |
tree | 1f5d52b7dff4a5c60e17c8f0fd7f7412c946a0ee /package/firefox/patches/patch-js_src_configure | |
parent | d77656116191a166ed0477cf16830480a2406fc5 (diff) | |
parent | d93c019f2cfdf53be59f02600cc25c547ba24edc (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/firefox/patches/patch-js_src_configure')
-rw-r--r-- | package/firefox/patches/patch-js_src_configure | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/package/firefox/patches/patch-js_src_configure b/package/firefox/patches/patch-js_src_configure new file mode 100644 index 000000000..c37f501e4 --- /dev/null +++ b/package/firefox/patches/patch-js_src_configure @@ -0,0 +1,31 @@ +--- mozilla-release.orig/js/src/configure 2013-12-05 17:08:46.000000000 +0100 ++++ mozilla-release/js/src/configure 2014-01-07 19:30:38.660353287 +0100 +@@ -8652,28 +8652,6 @@ if test -z "$GNU_CC"; then + esac + fi + +-if test "$GNU_CC" -a -n "$DEVELOPER_OPTIONS"; then +- if $CC -Wl,--version 2>&1 | grep -q "GNU ld"; then +- GOLD=$($CC -print-prog-name=ld.gold) +- case "$GOLD" in +- /*) +- ;; +- *) +- GOLD=$(which $GOLD) +- ;; +- esac +- if test -n "$GOLD"; then +- mkdir -p $_objdir/build/unix/gold +- ln -s "$GOLD" $_objdir/build/unix/gold/ld +- if $CC -B $_objdir/build/unix/gold -Wl,--version 2>&1 | grep -q "GNU gold"; then +- LDFLAGS="$LDFLAGS -B $_objdir/build/unix/gold" +- else +- rm -rf $_objdir/build/unix/gold +- fi +- fi +- fi +-fi +- + if test "$GNU_CC"; then + if test -z "$DEVELOPER_OPTIONS"; then + CFLAGS="$CFLAGS -ffunction-sections -fdata-sections" |