configure: Allow setting CROSSLDFLAGS by configure.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2019-12-20 12:49:41 +01:00 committed by Alexandre Julliard
parent 48f1623af9
commit d6625bd129
3 changed files with 4 additions and 0 deletions

View File

@ -40,6 +40,7 @@ CROSSCC = @CROSSCC@
CFLAGS = @CFLAGS@
CPPFLAGS = @CPPFLAGS@
CROSSCFLAGS = @CROSSCFLAGS@
CROSSLDFLAGS = @CROSSLDFLAGS@
EXTRACFLAGS = @EXTRACFLAGS@
EXTRACROSSCFLAGS= @EXTRACROSSCFLAGS@
MSVCRTFLAGS = @MSVCRTFLAGS@

2
configure vendored
View File

@ -707,6 +707,7 @@ X_CFLAGS
XMKMF
PTHREAD_LIBS
DELAYLOADFLAG
CROSSLDFLAGS
EXTRACROSSCFLAGS
CROSSCFLAGS
CROSSCC
@ -9772,6 +9773,7 @@ test -n "$CROSSCC" || CROSSCC="false"
EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
CC="$CROSSCC"
CFLAGS=$CROSSCFLAGS
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5

View File

@ -1032,6 +1032,7 @@ then
saved_CFLAGS=$CFLAGS
AC_SUBST(CROSSCFLAGS,${CROSSCFLAGS:-"-g -O2"})
AC_SUBST(EXTRACROSSCFLAGS,"-DWINE_CROSS_PE -Wall")
AC_SUBST(CROSSLDFLAGS)
CC="$CROSSCC"
CFLAGS=$CROSSCFLAGS