[compiler-rt] r184295 - When the compiler is not providing a clean triple, we should fail
Sylvestre Ledru
sylvestre at debian.org
Wed Jun 19 05:59:56 PDT 2013
Author: sylvestre
Date: Wed Jun 19 07:59:56 2013
New Revision: 184295
URL: http://llvm.org/viewvc/llvm-project?rev=184295&view=rev
Log:
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.
Modified:
compiler-rt/trunk/make/platform/clang_linux.mk
Modified: compiler-rt/trunk/make/platform/clang_linux.mk
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/make/platform/clang_linux.mk?rev=184295&r1=184294&r2=184295&view=diff
==============================================================================
--- compiler-rt/trunk/make/platform/clang_linux.mk (original)
+++ compiler-rt/trunk/make/platform/clang_linux.mk Wed Jun 19 07:59:56 2013
@@ -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)),)
More information about the llvm-commits
mailing list