Commit b1fb07e1 authored by Connor Abbott's avatar Connor Abbott Committed by Alexandre Julliard

winegcc: Support -Wl,--start-group and -Wl,--end-group.

These arguments need to be in the correct position so they need to go in the files array. Signed-off-by: 's avatarConnor Abbott <cwabbott0@gmail.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent d209d9fe
......@@ -2030,7 +2030,10 @@ int main(int argc, char **argv)
opts.debug_file = strdup( Wl->base[++j] );
continue;
}
if (!strcmp(Wl->base[j], "--whole-archive") || !strcmp(Wl->base[j], "--no-whole-archive"))
if (!strcmp(Wl->base[j], "--whole-archive") ||
!strcmp(Wl->base[j], "--no-whole-archive") ||
!strcmp(Wl->base[j], "--start-group") ||
!strcmp(Wl->base[j], "--end-group"))
{
strarray_add( opts.files, strmake( "-Wl,%s", Wl->base[j] ));
continue;
......
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