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
6c50dbd1
Commit
6c50dbd1
authored
Nov 24, 2019
by
Chip Davis
Committed by
Alexandre Julliard
Nov 25, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegcc: Pass through -fuse-ld= to the linker.
Signed-off-by:
Chip Davis
<
cdavis@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
bbdc6709
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
winegcc.c
tools/winegcc/winegcc.c
+4
-1
No files found.
tools/winegcc/winegcc.c
View file @
6c50dbd1
...
...
@@ -73,7 +73,7 @@
* object-file-name -llibrary -nostartfiles -nodefaultlibs
* -nostdlib -s -static -static-libgcc -static-libstdc++
* -shared -shared-libgcc -symbolic -Wl,option
* -Xlinker option -u symbol --image-base
* -Xlinker option -u symbol --image-base
-fuse-ld
*
* Directory Options
* -Bprefix -Idir -I- -Ldir -specs=file
...
...
@@ -1329,6 +1329,9 @@ static int is_linker_arg(const char* arg)
case
'a'
:
if
(
strcmp
(
"-arch"
,
arg
)
==
0
)
return
1
;
break
;
case
'f'
:
if
(
strncmp
(
"-fuse-ld="
,
arg
,
9
)
==
0
)
return
1
;
break
;
}
for
(
j
=
0
;
j
<
ARRAY_SIZE
(
link_switches
);
j
++
)
...
...
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