llvm-toolchain/debian/patches/31-powerpcspe.diff
2013-05-08 18:28:42 +00:00

16 lines
551 B
Diff

Index: llvm-toolchain-snapshot_3.3~svn181457/clang/lib/Lex/Makefile
===================================================================
--- llvm-toolchain-snapshot_3.3~svn181457.orig/clang/lib/Lex/Makefile 2010-07-18 02:14:47.000000000 +0200
+++ llvm-toolchain-snapshot_3.3~svn181457/clang/lib/Lex/Makefile 2013-05-08 20:27:20.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