Commit 5e4ca097 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

winegcc: Support file alignment on msvc target.

parent afe2d73d
......@@ -551,6 +551,7 @@ static strarray *get_link_args( struct options *opts, const char *output_name )
}
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_addall( link_args, flags );
return link_args;
......
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