From: LLVM Packaging Team Date: Sat, 23 Dec 2017 22:00:21 +0000 (+0000) Subject: powerpcspe X-Git-Tag: archive/raspbian/1%3.8.1-27+rpi1^2~51 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8f896f358872aec7754fbda91f455082eed74815;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