diff options
Diffstat (limited to 'sim/igen/configure.ac')
-rw-r--r-- | sim/igen/configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/igen/configure.ac b/sim/igen/configure.ac index 807e1d5..d87673e 100644 --- a/sim/igen/configure.ac +++ b/sim/igen/configure.ac @@ -11,14 +11,17 @@ SIM_AC_OPTION_WARNINGS if test "x$cross_compiling" = "xno" -a "x$host" != "xi386-windows"; then CC_FOR_BUILD='$(CC)' CFLAGS_FOR_BUILD='$(CFLAGS)' + LDFLAGS_FOR_BUILD='$(LDFLAGS)' else CC_FOR_BUILD=${CC_FOR_BUILD-gcc} CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-"-g"} + LDFLAGS_FOR_BUILD= fi AC_CANONICAL_SYSTEM AC_SUBST(CC_FOR_BUILD) AC_SUBST(CFLAGS_FOR_BUILD) +AC_SUBST(LDFLAGS_FOR_BUILD) AC_OUTPUT(Makefile) |