Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Varga <vargaz@gmail.com>2006-01-04 14:40:04 +0300
committerZoltan Varga <vargaz@gmail.com>2006-01-04 14:40:04 +0300
commit04bc22ea6aff2220e5f35731bfcf93345898c2aa (patch)
treef8543f4eb3ea926e236d633a2f015db59b726117 /configure.in
parentd62bd370265bcb6d3c33ae881fa3fed19952114a (diff)
2006-01-04 Zoltan Varga <vargaz@gmail.com>
* configure.in: Add a CFLAGS_FOR_BUILD autoconf variable. svn path=/trunk/mono/; revision=55049
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 4e848092053..fbba3582271 100644
--- a/configure.in
+++ b/configure.in
@@ -249,12 +249,15 @@ dnl may require a specific autoconf version
dnl AC_PROG_CC_FOR_BUILD
dnl CC_FOR_BUILD not automatically detected
CC_FOR_BUILD=$CC
+CFLAGS_FOR_BUILD=$CFLAGS
BUILD_EXEEXT=
if test "x$cross_compiling" = "xyes"; then
CC_FOR_BUILD=cc
+ CFLAGS_FOR_BUILD=
BUILD_EXEEXT=""
fi
AC_SUBST(CC_FOR_BUILD)
+AC_SUBST(CFLAGS_FOR_BUILD)
AC_SUBST(HOST_CC)
AC_SUBST(BUILD_EXEEXT)