From 2313d5bbcaa2816ad85c415d643b52f3ba1c4e31 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Wed, 19 Jun 2013 12:59:56 +0000 Subject: When the compiler is not providing a clean triple, we should fail the build right from the start. For now, it is only done with DEBUGMAKE is provided. That makes things harder to debug during ports of compiler-rt on other systems. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184295 91177308-0d34-0410-b5e6-96231b3b80d8 --- make/platform/clang_linux.mk | 2 -- 1 file changed, 2 deletions(-) (limited to 'make') diff --git a/make/platform/clang_linux.mk b/make/platform/clang_linux.mk index 05efdb6d6..229430e33 100644 --- a/make/platform/clang_linux.mk +++ b/make/platform/clang_linux.mk @@ -12,11 +12,9 @@ Configs := # compiler and only define configurations we know that compiler can generate. CompilerTargetTriple := $(shell \ $(CC) -v 2>&1 | grep 'Target:' | cut -d' ' -f2) -ifneq ($(DEBUGMAKE),) ifeq ($(CompilerTargetTriple),) $(error "unable to infer compiler target triple for $(CC)") endif -endif # Only define configs if we detected a linux target. ifneq ($(findstring -linux-,$(CompilerTargetTriple)),) -- cgit v1.2.3