winegcc: Support file alignment on msvc target.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
afe2d73db6
commit
5e4ca097be
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue