From: LLVM Packaging Team Date: Sat, 21 Oct 2017 11:43:31 +0000 (+0100) Subject: powerpcspe X-Git-Tag: archive/raspbian/1%3.8.1-27+rpi1^2^2~50 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d0f58875b42e32d7ce46b078243a185fa77fafc8;p=llvm-toolchain-3.8.git powerpcspe =================================================================== Gbp-Pq: Name 31-powerpcspe.diff --- diff --git a/clang/lib/Lex/Makefile b/clang/lib/Lex/Makefile index d80fb55c..34ec2b67 100644 --- a/clang/lib/Lex/Makefile +++ b/clang/lib/Lex/Makefile @@ -17,8 +17,10 @@ include $(CLANG_LEVEL)/../../Makefile.config LIBRARYNAME := clangLex ifeq ($(ARCH),PowerPC) +ifneq ($(shell dpkg-architecture -qDEB_HOST_ARCH),powerpcspe) CXX.Flags += -maltivec endif +endif include $(CLANG_LEVEL)/Makefile