From: LLVM Packaging Team Date: Mon, 9 Jan 2017 20:24:17 +0000 (+0000) Subject: powerpcspe X-Git-Tag: archive/raspbian/1%3.8.1-17+rpi1~5^2~46 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9eb6a994fdeacb8cbe095fa52d705fc4237d0799;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