mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 04:20:56 +00:00
winegcc: Pass through -fuse-ld= to the linker.
Signed-off-by: Chip Davis <cdavis@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
bbdc670931
commit
6c50dbd14e
|
@ -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++)
|
||||
|
|
Loading…
Reference in a new issue