mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-04 03:06:28 +00:00
llvmc: Forward -march/-mcpu/-mtune to as & ld.
llvm-svn: 121823
This commit is contained in:
parent
2e471b81da
commit
04ca263355
@ -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…
x
Reference in New Issue
Block a user