Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
c7bd6865
Commit
c7bd6865
authored
Oct 07, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Use CROSSLDFLAGS as flags for cross-compiler tests.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=51849
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c954e5b9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
configure
configure
+3
-0
configure.ac
configure.ac
+3
-0
No files found.
configure
View file @
c7bd6865
...
...
@@ -9621,6 +9621,7 @@ test -n "$CROSSCC" || CROSSCC="false"
then
ac_save_CC
=
"
$CC
"
saved_CFLAGS
=
$CFLAGS
saved_LDFLAGS
=
$LDFLAGS
CROSSCFLAGS
=
${
CROSSCFLAGS
:-
"-g -O2"
}
EXTRACROSSCFLAGS
=
"-DWINE_CROSS_PE -Wall"
...
...
@@ -9629,6 +9630,7 @@ test -n "$CROSSCC" || CROSSCC="false"
CC
=
"
$CROSSCC
"
CFLAGS
=
$CROSSCFLAGS
LDFLAGS
=
$CROSSLDFLAGS
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking whether
$CROSSCC
works"
>
&5
$as_echo_n
"checking whether
$CROSSCC
works... "
>
&6
;
}
if
${
wine_cv_crosscc
+
:
}
false
;
then
:
...
...
@@ -10676,6 +10678,7 @@ fi
fi
CFLAGS
=
$saved_CFLAGS
LDFLAGS
=
$saved_LDFLAGS
CC
=
"
$ac_save_CC
"
fi
fi
...
...
configure.ac
View file @
c7bd6865
...
...
@@ -951,12 +951,14 @@ then
then
ac_save_CC="$CC"
saved_CFLAGS=$CFLAGS
saved_LDFLAGS=$LDFLAGS
AC_SUBST(CROSSCFLAGS,${CROSSCFLAGS:-"-g -O2"})
AC_SUBST(EXTRACROSSCFLAGS,"-DWINE_CROSS_PE -Wall")
AC_SUBST(CROSSLDFLAGS)
CC="$CROSSCC"
CFLAGS=$CROSSCFLAGS
LDFLAGS=$CROSSLDFLAGS
AC_CACHE_CHECK([whether $CROSSCC works], wine_cv_crosscc,
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])],[wine_cv_crosscc=yes],[wine_cv_crosscc=no])])
if test $wine_cv_crosscc = yes
...
...
@@ -1051,6 +1053,7 @@ then
fi
CFLAGS=$saved_CFLAGS
LDFLAGS=$saved_LDFLAGS
CC="$ac_save_CC"
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment