Commit 793bde8a authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Set stage-specific CC/LD opts in the bindist configure.ac

parent 30fad702
......@@ -77,10 +77,17 @@ dnl ** Check gcc version and flags we need to pass it **
#
FP_GCC_EXTRA_FLAGS
CONF_CC_OPTS="@CONF_CC_OPTS@"
CONF_LD_OPTS="@CONF_LD_OPTS@"
AC_SUBST(CONF_CC_OPTS)
AC_SUBST(CONF_LD_OPTS)
FPTOOLS_SET_C_LD_FLAGS([target],[CFLAGS],[LDFLAGS])
FPTOOLS_SET_C_LD_FLAGS([build],[CONF_CC_OPTS_STAGE0],[CONF_LD_OPTS_STAGE0])
FPTOOLS_SET_C_LD_FLAGS([target],[CONF_CC_OPTS_STAGE1],[CONF_LD_OPTS_STAGE1])
FPTOOLS_SET_C_LD_FLAGS([target],[CONF_CC_OPTS_STAGE2],[CONF_LD_OPTS_STAGE2])
AC_SUBST(CONF_CC_OPTS_STAGE0)
AC_SUBST(CONF_CC_OPTS_STAGE1)
AC_SUBST(CONF_CC_OPTS_STAGE2)
AC_SUBST(CONF_LD_OPTS_STAGE0)
AC_SUBST(CONF_LD_OPTS_STAGE1)
AC_SUBST(CONF_LD_OPTS_STAGE2)
#
AC_CONFIG_FILES(extra-gcc-opts mk/config.mk mk/install.mk)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment