llvm-toolchain/debian/patches/31-powerpcspe.diff
2013-08-11 08:02:45 +00:00

16 lines
551 B
Diff

Index: llvm-toolchain-snapshot_3.4~svn188146/clang/lib/Lex/Makefile
===================================================================
--- llvm-toolchain-snapshot_3.4~svn188146.orig/clang/lib/Lex/Makefile 2013-08-11 10:01:34.908734698 +0200
+++ llvm-toolchain-snapshot_3.4~svn188146/clang/lib/Lex/Makefile 2013-08-11 10:01:34.908734698 +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