Inline PLT call optimization
[deliverable/binutils-gdb.git] / sim / configure.ac
index 22db00f734c3a5d6e42bd717d4a62ff9645e0b37..0781151d89671e0e66587c7a9cebb7d1b20816fd 100644 (file)
@@ -18,10 +18,12 @@ AC_SUBST(AR)
 AC_PROG_RANLIB
 
 # Put a plausible default for CC_FOR_BUILD in Makefile.
-if test "x$cross_compiling" = "xno"; then
-  CC_FOR_BUILD='$(CC)'
-else
-  CC_FOR_BUILD=gcc
+if test -z "$CC_FOR_BUILD"; then
+  if test "x$cross_compiling" = "xno"; then
+    CC_FOR_BUILD='$(CC)'
+  else
+    CC_FOR_BUILD=gcc
+  fi
 fi
 AC_SUBST(CC_FOR_BUILD)
 CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
This page took 0.023647 seconds and 4 git commands to generate.