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
3e30306b
Commit
3e30306b
authored
Oct 09, 2009
by
Juan Lang
Committed by
Alexandre Julliard
Oct 12, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegcc: Examine each argument of compile command rather than only the first.
parent
7e7ed92b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
winegcc.c
tools/winegcc/winegcc.c
+6
-1
No files found.
tools/winegcc/winegcc.c
View file @
3e30306b
...
...
@@ -320,7 +320,12 @@ static void compile(struct options* opts, const char* lang)
/* mixing different C and C++ compilers isn't supported in configure anyway */
case
proc_cc
:
case
proc_cxx
:
gcc_defs
=
strendswith
(
comp_args
->
base
[
0
],
"gcc"
)
||
strendswith
(
comp_args
->
base
[
0
],
"g++"
);
for
(
j
=
0
;
!
gcc_defs
&&
j
<
comp_args
->
size
;
j
++
)
{
const
char
*
cc
=
comp_args
->
base
[
j
];
gcc_defs
=
strendswith
(
cc
,
"gcc"
)
||
strendswith
(
cc
,
"g++"
);
}
break
;
}
...
...
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