]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/configure.ac
sim/:
[thirdparty/binutils-gdb.git] / sim / configure.ac
index fc1ac57c58fab8af14c97cef5468e349927b02a2..205482bcc90d922e3397ffe88683a64d72c95170 100644 (file)
@@ -23,6 +23,8 @@ else
   CC_FOR_BUILD=gcc
 fi
 AC_SUBST(CC_FOR_BUILD)
+CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
+AC_SUBST(CFLAGS_FOR_BUILD)
 
 # If a cpu ever has more than one simulator to choose from, use
 # --enable-sim=... to choose.