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@
|
CFLAGS = @CFLAGS@
|
||||||
CPPFLAGS = @CPPFLAGS@
|
CPPFLAGS = @CPPFLAGS@
|
||||||
CROSSCFLAGS = @CROSSCFLAGS@
|
CROSSCFLAGS = @CROSSCFLAGS@
|
||||||
|
CROSSLDFLAGS = @CROSSLDFLAGS@
|
||||||
EXTRACFLAGS = @EXTRACFLAGS@
|
EXTRACFLAGS = @EXTRACFLAGS@
|
||||||
EXTRACROSSCFLAGS= @EXTRACROSSCFLAGS@
|
EXTRACROSSCFLAGS= @EXTRACROSSCFLAGS@
|
||||||
MSVCRTFLAGS = @MSVCRTFLAGS@
|
MSVCRTFLAGS = @MSVCRTFLAGS@
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue