[MinGW] Ignore the --enable-auto-import flag
In GNU ld, this option is enabled by default, but can be set to reduce some warnings. For lld, ignore the flag (for now); in case linking still succeeds everything should be fine, if not, it should be clear to the user what part failed (possibly requiring adjusting the user project to not rely on this feature), instead of straight out failing due to an unknown flag. Differential Revision: https://reviews.llvm.org/D39330 llvm-svn: 316693
This commit is contained in:
parent
27af6b0082
commit
ab9c98c70d
|
@ -37,6 +37,7 @@ def Bdynamic: F<"Bdynamic">, HelpText<"Link against shared libraries">;
|
|||
def Bstatic: F<"Bstatic">, HelpText<"Do not link against shared libraries">;
|
||||
def O: Joined<["-"], "O">, HelpText<"Optimize output file size">;
|
||||
def enable_auto_image_base: F<"enable-auto-image-base">;
|
||||
def enable_auto_import: F<"enable-auto-import">;
|
||||
def full_shutdown: Flag<["--"], "full-shutdown">;
|
||||
def major_image_version: S<"major-image-version">;
|
||||
def minor_image_version: S<"minor-image-version">;
|
||||
|
|
Loading…
Reference in New Issue