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
48678362
Commit
48678362
authored
Oct 05, 2011
by
Charles Davis
Committed by
Alexandre Julliard
Oct 06, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegcc: On Mac OS, turn -s into -Wl,-x.
parent
cd919f60
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
winegcc.c
tools/winegcc/winegcc.c
+12
-0
No files found.
tools/winegcc/winegcc.c
View file @
48678362
...
...
@@ -199,6 +199,7 @@ struct options
int
force_pointer_size
;
int
large_address_aware
;
int
unwind_tables
;
int
strip
;
const
char
*
wine_objdir
;
const
char
*
output_name
;
const
char
*
image_base
;
...
...
@@ -1009,6 +1010,8 @@ static void build(struct options* opts)
strarray_add
(
link_args
,
"-image_base"
);
strarray_add
(
link_args
,
opts
->
image_base
);
}
if
(
opts
->
strip
)
strarray_add
(
link_args
,
"-Wl,-x"
);
break
;
case
PLATFORM_SOLARIS
:
{
...
...
@@ -1417,6 +1420,15 @@ int main(int argc, char **argv)
opts
.
shared
=
1
;
raw_compiler_arg
=
raw_linker_arg
=
0
;
}
else
if
(
strcmp
(
"-s"
,
argv
[
i
])
==
0
&&
opts
.
target_platform
==
PLATFORM_APPLE
)
{
/* On Mac, change -s into -Wl,-x. ld's -s switch
* is deprecated, and it doesn't work on Tiger with
* MH_BUNDLEs anyway
*/
opts
.
strip
=
1
;
raw_linker_arg
=
0
;
}
break
;
case
'v'
:
if
(
argv
[
i
][
2
]
==
0
)
verbose
++
;
...
...
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