summaryrefslogtreecommitdiff
path: root/debian/patches/31-powerpcspe.diff
blob: 8eacce75ac9e8481374f6ddd04a82456c6a503a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Index: llvm-toolchain-snapshot_3.4~svn188990/clang/lib/Lex/Makefile
===================================================================
--- llvm-toolchain-snapshot_3.4~svn188990.orig/clang/lib/Lex/Makefile	2013-08-22 09:07:43.368608381 +0200
+++ llvm-toolchain-snapshot_3.4~svn188990/clang/lib/Lex/Makefile	2013-08-22 09:07:43.368608381 +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