mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-28 14:10:41 +00:00
llvmc: Forward -march/-mcpu/-mtune to as & ld.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121823 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
87685e8e8f
commit
bebea87284
@ -276,6 +276,9 @@ def llvm_gcc_assembler : Tool<
|
||||
(switch_on "c"), (stop_compilation),
|
||||
(not_empty "arch"), (forward "arch"),
|
||||
(not_empty "Xassembler"), (forward "Xassembler"),
|
||||
(not_empty "march"), (forward "march"),
|
||||
(not_empty "mcpu"), (forward "mcpu"),
|
||||
(not_empty "mtune"), (forward "mtune"),
|
||||
(switch_on "m32"), (forward "m32"),
|
||||
(switch_on "m64"), (forward "m64"),
|
||||
(not_empty "Wa,"), (forward "Wa,")))
|
||||
@ -321,6 +324,9 @@ class llvm_gcc_based_linker <string cmd, dag on_empty> : Tool<
|
||||
(not_empty "framework"), (forward "framework"),
|
||||
(not_empty "weak_framework"), (forward "weak_framework"),
|
||||
(not_empty "filelist"), (forward "filelist"),
|
||||
(not_empty "march"), (forward "march"),
|
||||
(not_empty "mcpu"), (forward "mcpu"),
|
||||
(not_empty "mtune"), (forward "mtune"),
|
||||
(switch_on "m32"), (forward "m32"),
|
||||
(switch_on "m64"), (forward "m64"),
|
||||
(not_empty "l"), (forward "l"),
|
||||
|
Loading…
Reference in New Issue
Block a user