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:
parent
48f1623af9
commit
d6625bd129
|
@ -40,6 +40,7 @@ CROSSCC = @CROSSCC@
|
|||
CFLAGS = @CFLAGS@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CROSSCFLAGS = @CROSSCFLAGS@
|
||||
CROSSLDFLAGS = @CROSSLDFLAGS@
|
||||
EXTRACFLAGS = @EXTRACFLAGS@
|
||||
EXTRACROSSCFLAGS= @EXTRACROSSCFLAGS@
|
||||
MSVCRTFLAGS = @MSVCRTFLAGS@
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue