Commit d281c90c authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

winegcc: Properly set debug info type on msvc targets.

Fixes a typo from 9faa5eed. Signed-off-by: 's avatarJacek Caban <jacek@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 2f93be4b
...@@ -560,12 +560,12 @@ static strarray *get_link_args( struct options *opts, const char *output_name ) ...@@ -560,12 +560,12 @@ static strarray *get_link_args( struct options *opts, const char *output_name )
strarray_add(link_args, "-Wl,-debug"); strarray_add(link_args, "-Wl,-debug");
strarray_add(link_args, strmake("-Wl,-pdb:%s", opts->debug_file)); strarray_add(link_args, strmake("-Wl,-pdb:%s", opts->debug_file));
} }
else if (!opts->strip)
strarray_add(link_args, "-Wl,-debug:dwarf");
if (opts->out_implib) if (opts->out_implib)
strarray_add(link_args, strmake("-Wl,-implib:%s", opts->out_implib)); strarray_add(link_args, strmake("-Wl,-implib:%s", opts->out_implib));
else if (!opts->strip)
strarray_add(link_args, "-Wl,-debug:dwarf");
strarray_add( link_args, strmake( "-Wl,-filealign:%s", opts->file_align ? opts->file_align : "0x1000" )); strarray_add( link_args, strmake( "-Wl,-filealign:%s", opts->file_align ? opts->file_align : "0x1000" ));
strarray_addall( link_args, flags ); strarray_addall( link_args, flags );
......
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