summaryrefslogtreecommitdiff
path: root/package/firefox/patches/patch-configure
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-11 12:29:23 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-11 12:29:23 +0100
commit407f9b8fde3ad9cc55f39f7a548cde6056dab494 (patch)
tree0375ea8ddab3502bf6883066f43fc7e328d5c704 /package/firefox/patches/patch-configure
parent2ecefcf609e484d04d1546581191831e07ad71ec (diff)
parentabb858ae43374dc13a5fcef19b9e0ba9442013bb (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/firefox/patches/patch-configure')
-rw-r--r--package/firefox/patches/patch-configure30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/firefox/patches/patch-configure b/package/firefox/patches/patch-configure
new file mode 100644
index 000000000..884cea4dd
--- /dev/null
+++ b/package/firefox/patches/patch-configure
@@ -0,0 +1,30 @@
+--- mozilla-release.orig/configure 2013-12-05 17:08:46.000000000 +0100
++++ mozilla-release/configure 2014-01-06 18:17:43.008094174 +0100
+@@ -9787,27 +9787,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