patch-js_src_configure 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. --- mozilla-release.orig/js/src/configure 2013-12-05 17:08:46.000000000 +0100
  2. +++ mozilla-release/js/src/configure 2014-01-07 19:30:38.660353287 +0100
  3. @@ -8652,28 +8652,6 @@ if test -z "$GNU_CC"; then
  4. esac
  5. fi
  6. -if test "$GNU_CC" -a -n "$DEVELOPER_OPTIONS"; then
  7. - if $CC -Wl,--version 2>&1 | grep -q "GNU ld"; then
  8. - GOLD=$($CC -print-prog-name=ld.gold)
  9. - case "$GOLD" in
  10. - /*)
  11. - ;;
  12. - *)
  13. - GOLD=$(which $GOLD)
  14. - ;;
  15. - esac
  16. - if test -n "$GOLD"; then
  17. - mkdir -p $_objdir/build/unix/gold
  18. - ln -s "$GOLD" $_objdir/build/unix/gold/ld
  19. - if $CC -B $_objdir/build/unix/gold -Wl,--version 2>&1 | grep -q "GNU gold"; then
  20. - LDFLAGS="$LDFLAGS -B $_objdir/build/unix/gold"
  21. - else
  22. - rm -rf $_objdir/build/unix/gold
  23. - fi
  24. - fi
  25. - fi
  26. -fi
  27. -
  28. if test "$GNU_CC"; then
  29. if test -z "$DEVELOPER_OPTIONS"; then
  30. CFLAGS="$CFLAGS -ffunction-sections -fdata-sections"