aboutsummaryrefslogtreecommitdiff
path: root/sim/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'sim/configure.ac')
-rw-r--r--sim/configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/configure.ac b/sim/configure.ac
index fc1ac57..205482b 100644
--- a/sim/configure.ac
+++ b/sim/configure.ac
@@ -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.