diff options
| author | Sylvestre Ledru <sylvestre@debian.org> | 2013-06-19 12:59:56 +0000 |
|---|---|---|
| committer | Sylvestre Ledru <sylvestre@debian.org> | 2013-06-19 12:59:56 +0000 |
| commit | 2313d5bbcaa2816ad85c415d643b52f3ba1c4e31 (patch) | |
| tree | 202a037137c51f0c63c5dff8e26ca988bab1eabf /make | |
| parent | 3f9f877480e751a9dd7f5df871121f52f1379a33 (diff) | |
| download | compiler-rt-2313d5bbcaa2816ad85c415d643b52f3ba1c4e31.tar.gz compiler-rt-2313d5bbcaa2816ad85c415d643b52f3ba1c4e31.tar.bz2 compiler-rt-2313d5bbcaa2816ad85c415d643b52f3ba1c4e31.tar.xz | |
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
Diffstat (limited to 'make')
| -rw-r--r-- | make/platform/clang_linux.mk | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/make/platform/clang_linux.mk b/make/platform/clang_linux.mk index 05efdb6d..229430e3 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)),) |
