llvm-toolchain/debian/patches/31-powerpcspe.diff
2013-06-06 16:41:26 +00:00

16 lines
551 B
Diff

Index: llvm-toolchain-snapshot_3.4~svn183420/clang/lib/Lex/Makefile
===================================================================
--- llvm-toolchain-snapshot_3.4~svn183420.orig/clang/lib/Lex/Makefile 2010-07-18 02:14:47.000000000 +0200
+++ llvm-toolchain-snapshot_3.4~svn183420/clang/lib/Lex/Makefile 2013-06-06 18:37:14.000000000 +0200
@@ -17,8 +17,10 @@
LIBRARYNAME := clangLex
ifeq ($(ARCH),PowerPC)
+ifneq ($(shell dpkg-architecture -qDEB_HOST_ARCH),powerpcspe)
CXX.Flags += -maltivec
endif
+endif
include $(CLANG_LEVEL)/Makefile