mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Support '-install_name'.
llvm-svn: 96917
This commit is contained in:
parent
947daddd81
commit
e213e3cbb6
@ -105,6 +105,8 @@ def OptList : OptionList<[
|
||||
(help "Remove unreachable blocks of code")),
|
||||
(switch_option "single_module", (hidden),
|
||||
(help "Build the library so it contains only one module")),
|
||||
(parameter_option "install_name", (hidden),
|
||||
(help "File name the library will be installed in")),
|
||||
(parameter_option "compatibility_version", (hidden),
|
||||
(help "Compatibility version number")),
|
||||
(parameter_option "current_version", (hidden),
|
||||
@ -258,8 +260,8 @@ class llvm_gcc_based_linker <string cmd_prefix> : Tool<
|
||||
(switch_on "single_module"), (forward "single_module"),
|
||||
(not_empty "compatibility_version"),
|
||||
(forward "compatibility_version"),
|
||||
(not_empty "current_version"),
|
||||
(forward "current_version")))
|
||||
(not_empty "current_version"), (forward "current_version"),
|
||||
(not_empty "install_name"), (forward "install_name")))
|
||||
]>;
|
||||
|
||||
// Default linker
|
||||
|
Loading…
Reference in New Issue
Block a user