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@ CFLAGS = @CFLAGS@
CPPFLAGS = @CPPFLAGS@ CPPFLAGS = @CPPFLAGS@
CROSSCFLAGS = @CROSSCFLAGS@ CROSSCFLAGS = @CROSSCFLAGS@
CROSSLDFLAGS = @CROSSLDFLAGS@
EXTRACFLAGS = @EXTRACFLAGS@ EXTRACFLAGS = @EXTRACFLAGS@
EXTRACROSSCFLAGS= @EXTRACROSSCFLAGS@ EXTRACROSSCFLAGS= @EXTRACROSSCFLAGS@
MSVCRTFLAGS = @MSVCRTFLAGS@ MSVCRTFLAGS = @MSVCRTFLAGS@

2
configure vendored
View File

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

View File

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