Commit 09e1c0f6 authored by Alexandre Julliard's avatar Alexandre Julliard

configure: Don't inherit CFLAGS for cross-compilation.

parent fabde842
...@@ -9670,7 +9670,7 @@ test -n "$CROSSCC" || CROSSCC="false" ...@@ -9670,7 +9670,7 @@ test -n "$CROSSCC" || CROSSCC="false"
then then
ac_save_CC="$CC" ac_save_CC="$CC"
saved_CFLAGS=$CFLAGS saved_CFLAGS=$CFLAGS
CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS} CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
EXTRACROSSCFLAGS="-DWINE_CROSSTEST -Wall" EXTRACROSSCFLAGS="-DWINE_CROSSTEST -Wall"
......
...@@ -1002,7 +1002,7 @@ then ...@@ -1002,7 +1002,7 @@ then
then then
ac_save_CC="$CC" ac_save_CC="$CC"
saved_CFLAGS=$CFLAGS saved_CFLAGS=$CFLAGS
AC_SUBST(CROSSCFLAGS,${CROSSCFLAGS:-$CFLAGS}) AC_SUBST(CROSSCFLAGS,${CROSSCFLAGS:-"-g -O2"})
AC_SUBST(EXTRACROSSCFLAGS,"-DWINE_CROSSTEST -Wall") AC_SUBST(EXTRACROSSCFLAGS,"-DWINE_CROSSTEST -Wall")
CC="$CROSSCC" CC="$CROSSCC"
......
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