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
cc91a2f9
Commit
cc91a2f9
authored
Nov 25, 2022
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 28, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegcc: Use -nostdlib instead of -nostartfiles on Clang MSVC targets.
-nostartfiles is not enough if clang is configured with explicit default rtlib.
parent
c096d6ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
winegcc.c
tools/winegcc/winegcc.c
+2
-1
No files found.
tools/winegcc/winegcc.c
View file @
cc91a2f9
...
...
@@ -482,7 +482,8 @@ static struct strarray get_link_args( struct options *opts, const char *output_n
}
if
(
opts
->
unicode_app
)
strarray_add
(
&
flags
,
"-municode"
);
if
(
opts
->
nodefaultlibs
||
opts
->
use_msvcrt
)
strarray_add
(
&
flags
,
"-nodefaultlibs"
);
if
(
opts
->
nostartfiles
||
opts
->
use_msvcrt
)
strarray_add
(
&
flags
,
"-nostartfiles"
);
if
(
opts
->
nostartfiles
)
strarray_add
(
&
flags
,
"-nostartfiles"
);
if
(
opts
->
use_msvcrt
)
strarray_add
(
&
flags
,
"-nostdlib"
);
if
(
opts
->
image_base
)
strarray_add
(
&
flags
,
strmake
(
"-Wl,-base:%s"
,
opts
->
image_base
));
if
(
opts
->
subsystem
)
strarray_add
(
&
flags
,
strmake
(
"-Wl,-subsystem:%s"
,
opts
->
subsystem
));
...
...
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