Commit 6c50dbd1 authored by Chip Davis's avatar Chip Davis Committed by Alexandre Julliard

winegcc: Pass through -fuse-ld= to the linker.

parent bbdc6709
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
* object-file-name -llibrary -nostartfiles -nodefaultlibs * object-file-name -llibrary -nostartfiles -nodefaultlibs
* -nostdlib -s -static -static-libgcc -static-libstdc++ * -nostdlib -s -static -static-libgcc -static-libstdc++
* -shared -shared-libgcc -symbolic -Wl,option * -shared -shared-libgcc -symbolic -Wl,option
* -Xlinker option -u symbol --image-base * -Xlinker option -u symbol --image-base -fuse-ld
* *
* Directory Options * Directory Options
* -Bprefix -Idir -I- -Ldir -specs=file * -Bprefix -Idir -I- -Ldir -specs=file
...@@ -1329,6 +1329,9 @@ static int is_linker_arg(const char* arg) ...@@ -1329,6 +1329,9 @@ static int is_linker_arg(const char* arg)
case 'a': case 'a':
if (strcmp("-arch", arg) == 0) return 1; if (strcmp("-arch", arg) == 0) return 1;
break; break;
case 'f':
if (strncmp("-fuse-ld=", arg, 9) == 0) return 1;
break;
} }
for (j = 0; j < ARRAY_SIZE(link_switches); j++) for (j = 0; j < ARRAY_SIZE(link_switches); j++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment