Created
June 2, 2014 17:16
-
-
Save anonymous/30bcf0623d6dad893507 to your computer and use it in GitHub Desktop.
$ git diff .;
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git diff . | |
diff --git a/build/autoconf/compiler-opts.m4 b/build/autoconf/compiler-opts.m4 | |
index ef3f85e..ea8dc6f 100644 | |
--- a/build/autoconf/compiler-opts.m4 | |
+++ b/build/autoconf/compiler-opts.m4 | |
@@ -238,7 +238,11 @@ if test "$GNU_CC" -a -n "$MOZ_FORCE_GOLD"; then | |
/*) | |
;; | |
*) | |
- GOLD=$(which $GOLD) | |
+ if test -n "$CROSS_COMPILE"; then | |
+ GOLD=$(which $GOLD) | |
+ else | |
+ GOLD="" | |
+ fi | |
;; | |
esac | |
if test -n "$GOLD"; then | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment