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
40b7091e
Commit
40b7091e
authored
Jul 08, 2017
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Allow specifying different CFLAGS for the cross compiler.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a9493881
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
1 deletion
+6
-1
Makefile.in
Makefile.in
+1
-0
configure
configure
+3
-0
configure.ac
configure.ac
+1
-0
makedep.c
tools/makedep.c
+1
-1
No files found.
Makefile.in
View file @
40b7091e
...
...
@@ -43,6 +43,7 @@ CPPBIN = @CPPBIN@
CROSSCC
=
@CROSSCC@
CFLAGS
=
@CFLAGS@
CPPFLAGS
=
@CPPFLAGS@
CROSSCFLAGS
=
@CROSSCFLAGS@
EXTRACFLAGS
=
@EXTRACFLAGS@
MSVCRTFLAGS
=
@BUILTINFLAG@
TARGETFLAGS
=
@TARGETFLAGS@
...
...
configure
View file @
40b7091e
...
...
@@ -690,6 +690,7 @@ X_PRE_LIBS
X_CFLAGS
XMKMF
PTHREAD_LIBS
CROSSCFLAGS
CROSSCC
CROSSTARGET
PRELINK
...
...
@@ -9105,6 +9106,8 @@ $as_echo "no" >&6; }
fi
rm
-f
core conftest.err conftest.
$ac_objext
conftest.
$ac_ext
CC
=
"
$ac_save_CC
"
CROSSCFLAGS
=
${
CROSSCFLAGS
:-
$CFLAGS
}
fi
fi
...
...
configure.ac
View file @
40b7091e
...
...
@@ -983,6 +983,7 @@ then
done],
[AC_MSG_RESULT([no])])
CC="$ac_save_CC"
AC_SUBST(CROSSCFLAGS,${CROSSCFLAGS:-$CFLAGS})
fi
fi
...
...
tools/makedep.c
View file @
40b7091e
...
...
@@ -2669,7 +2669,7 @@ static struct strarray output_sources( const struct makefile *make )
if
(
make
->
use_msvcrt
)
output_filenames
(
msvcrt_flags
);
output_filename
(
"-DWINE_CROSSTEST"
);
output_filenames
(
cpp_flags
);
output_filename
(
"$(CFLAGS)"
);
output_filename
(
"$(C
ROSSC
FLAGS)"
);
output
(
"
\n
"
);
}
if
(
make
->
testdll
&&
!
strcmp
(
ext
,
"c"
)
&&
!
(
source
->
file
->
flags
&
FLAG_GENERATED
))
...
...
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