Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
c29336fa
Commit
c29336fa
authored
Jun 03, 2023
by
Billy Laws
Committed by
Alexandre Julliard
Jun 05, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Stash host LDFLAGS when configuring cross-compilers.
parent
33c8d7b8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
configure
configure
+5
-1
configure.ac
configure.ac
+5
-1
No files found.
configure
View file @
c29336fa
...
...
@@ -10591,11 +10591,13 @@ fi
saved_CC
=
$CC
saved_CFLAGS
=
$CFLAGS
saved_LDFLAGS
=
$LDFLAGS
CFLAGS
=
${
CROSSCFLAGS
:-
"-g -O2"
}
LDFLAGS
=
$CROSSLDFLAGS
eval
CC
=
\$
${
wine_arch
}
_CC
eval
${
wine_arch
}
_CFLAGS
=
\$
CFLAGS
eval
${
wine_arch
}
_LDFLAGS
=
\$
CROSS
LDFLAGS
eval
${
wine_arch
}
_LDFLAGS
=
\$
LDFLAGS
eval
"
${
wine_arch
}
_EXTRACFLAGS=
\"
-D__WINE_PE_BUILD -Wall
\"
"
target
=
""
...
...
@@ -10699,6 +10701,7 @@ fi
then
CC
=
$saved_CC
CFLAGS
=
$saved_CFLAGS
LDFLAGS
=
$saved_LDFLAGS
continue
fi
as_fn_append PE_ARCHS
"
$wine_arch
"
...
...
@@ -11672,6 +11675,7 @@ fi }
CC
=
$saved_CC
CFLAGS
=
$saved_CFLAGS
LDFLAGS
=
$saved_LDFLAGS
done
if
test
$HOST_ARCH
=
aarch64
-a
"x
$PE_ARCHS
"
=
x
...
...
configure.ac
View file @
c29336fa
...
...
@@ -842,11 +842,13 @@ do
saved_CC=$CC
saved_CFLAGS=$CFLAGS
saved_LDFLAGS=$LDFLAGS
CFLAGS=${CROSSCFLAGS:-"-g -O2"}
LDFLAGS=$CROSSLDFLAGS
AS_VAR_COPY([CC],[${wine_arch}_CC])
AS_VAR_COPY([${wine_arch}_CFLAGS],[CFLAGS])
AS_VAR_COPY([${wine_arch}_LDFLAGS],[
CROSS
LDFLAGS])
AS_VAR_COPY([${wine_arch}_LDFLAGS],[LDFLAGS])
AS_VAR_SET([${wine_arch}_EXTRACFLAGS],["-D__WINE_PE_BUILD -Wall"])
target=""
...
...
@@ -892,6 +894,7 @@ do
then
CC=$saved_CC
CFLAGS=$saved_CFLAGS
LDFLAGS=$saved_LDFLAGS
continue
fi
AS_VAR_APPEND([PE_ARCHS],[" $wine_arch"])
...
...
@@ -982,6 +985,7 @@ do
CC=$saved_CC
CFLAGS=$saved_CFLAGS
LDFLAGS=$saved_LDFLAGS
done
if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
...
...
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