[PATCH] D12316: Fixing compiler_rt makefile for architecture i686.
Nishanth H. Kottary via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 25 03:45:45 PDT 2015
nishanth-kottary created this revision.
nishanth-kottary added reviewers: samsonov, loladiro.
nishanth-kottary added a subscriber: llvm-commits.
nishanth-kottary set the repository for this revision to rL LLVM.
Added a check for architecture i686 to treat it as i386.
Repository:
rL LLVM
http://reviews.llvm.org/D12316
Files:
make/platform/clang_linux.mk
Index: make/platform/clang_linux.mk
===================================================================
--- make/platform/clang_linux.mk
+++ make/platform/clang_linux.mk
@@ -21,6 +21,9 @@
# Define configs only if arch in triple is i386 or x86_64
CompilerTargetArch := $(firstword $(subst -, ,$(CompilerTargetTriple)))
+ifeq ($(call contains,i686,$(CompilerTargetArch)),true)
+CompilerTargetArch := i386
+endif
ifeq ($(call contains,i386 x86_64,$(CompilerTargetArch)),true)
# TryCompile compiler source flags
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12316.33058.patch
Type: text/x-patch
Size: 516 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150825/547f480a/attachment.bin>
More information about the llvm-commits
mailing list