about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicho Healey <richo@psych0tik.net>2015-01-09 19:52:58 -0800
committerRicho Healey <richo@psych0tik.net>2015-01-11 21:14:30 -0800
commit0e0af8ea88d5e8c9e69e1784dd1ca941bb911f9e (patch)
treec1ca747f174ea032dfdf14d9433d62e7f9c47d53
parenta36a8924b40b01525e1d48802869f5f62480c0bd (diff)
downloadrust-0e0af8ea88d5e8c9e69e1784dd1ca941bb911f9e.tar.gz
rust-0e0af8ea88d5e8c9e69e1784dd1ca941bb911f9e.zip
powerpc: Use toolchain assembler on power
-rw-r--r--mk/platform.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/platform.mk b/mk/platform.mk
index 50bf51b20de..78c1057c2fe 100644
--- a/mk/platform.mk
+++ b/mk/platform.mk
@@ -177,7 +177,7 @@ define CFG_MAKE_TOOLCHAIN
         $$(CFG_GCCISH_DEF_FLAG_$(1))$$(3) $$(2) \
         $$(call CFG_INSTALL_NAME_$(1),$$(4))
 
-  ifeq ($$(findstring $(HOST_$(1)),arm aarch64 mips mipsel),)
+  ifeq ($$(findstring $(HOST_$(1)),arm aarch64 mips mipsel powerpc),)
 
   # We're using llvm-mc as our assembler because it supports
   # .cfi pseudo-ops on mac
@@ -189,7 +189,7 @@ define CFG_MAKE_TOOLCHAIN
                     -o=$$(1)
   else
 
-  # For the ARM, AARCH64 and MIPS crosses, use the toolchain assembler
+  # For the ARM, AARCH64, MIPS and POWER crosses, use the toolchain assembler
   # FIXME: We should be able to use the LLVM assembler
   CFG_ASSEMBLE_$(1)=$$(CC_$(1)) $$(CFG_GCCISH_CFLAGS_$(1)) \
 		    $$(CFG_DEPEND_FLAGS) $$(2) -c -o $$(1)