Skip to content

Commit e3c0336

Browse files
crabtwbrson
authored andcommitted
---
yaml --- r: 7840 b: refs/heads/snap-stage3 c: 5257a5c h: refs/heads/master v: v3
1 parent 77b02f7 commit e3c0336

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: 2898dcc5d97da9427ac367542382b6239d9c0bbf
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 91ee6afeaedd5ec73b0af90b4673e53d1becb8a7
4+
refs/heads/snap-stage3: 5257a5c6c3943e39768b1619013b82f602a8f156
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/snap-stage3/configure

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -536,14 +536,25 @@ do
536536
# Disable unused LLVM features
537537
LLVM_OPTS="$LLVM_DBG_OPTS --disable-docs --disable-jit --enable-bindings=none --disable-threads --disable-pthreads"
538538

539-
LLVM_CXX_32="g++ -m32"
540-
LLVM_CC_32="gcc -m32"
539+
if [ "$CFG_C_COMPILER" = "clang" ]
540+
then
541+
LLVM_CXX_32="clang++ -m32"
542+
LLVM_CC_32="clang -m32"
543+
544+
LLVM_CXX_64="clang++"
545+
LLVM_CC_64="clang"
546+
else
547+
LLVM_CXX_32="g++ -m32"
548+
LLVM_CC_32="gcc -m32"
549+
550+
LLVM_CXX_64="g++"
551+
LLVM_CC_64="gcc"
552+
fi
553+
541554
LLVM_CFLAGS_32="-m32"
542555
LLVM_CXXFLAGS_32="-m32"
543556
LLVM_LDFLAGS_32="-m32"
544557

545-
LLVM_CXX_64="g++"
546-
LLVM_CC_64="gcc"
547558
LLVM_CFLAGS_64=""
548559
LLVM_CXXFLAGS_64=""
549560
LLVM_LDFLAGS_64=""

0 commit comments

Comments
 (0)