@@ -609,7 +609,7 @@ opt dist-host-only 0 "only install bins for the host architecture"
609
609
opt inject-std-version 1 " inject the current compiler version of libstd into programs"
610
610
opt llvm-version-check 1 " check if the LLVM version is supported, build anyway"
611
611
opt rustbuild 0 " use the rust and cargo based build system"
612
- opt orbit 0 " get MIR where it belongs - everywhere; most importantly, in orbit"
612
+ opt orbit 1 " get MIR where it belongs - everywhere; most importantly, in orbit"
613
613
opt codegen-tests 1 " run the src/test/codegen tests"
614
614
opt option-checking 1 " complain about unrecognized options in this configure script"
615
615
opt ninja 0 " build LLVM using the Ninja generator (for MSVC, requires building in the correct environment)"
@@ -733,7 +733,7 @@ if [ -n "$CFG_ENABLE_DEBUG_ASSERTIONS" ]; then putvar CFG_ENABLE_DEBUG_ASSERTION
733
733
if [ -n " $CFG_ENABLE_DEBUGINFO " ]; then putvar CFG_ENABLE_DEBUGINFO; fi
734
734
if [ -n " $CFG_ENABLE_DEBUG_JEMALLOC " ]; then putvar CFG_ENABLE_DEBUG_JEMALLOC; fi
735
735
736
- if [ -n " $CFG_ENABLE_ORBIT " ]; then putvar CFG_ENABLE_ORBIT ; fi
736
+ if [ -n " $CFG_DISABLE_ORBIT " ]; then putvar CFG_DISABLE_ORBIT ; fi
737
737
738
738
step_msg " looking for build programs"
739
739
@@ -1020,6 +1020,12 @@ then
1020
1020
err " bad LLVM version: $LLVM_VERSION , need >=3.7"
1021
1021
;;
1022
1022
esac
1023
+
1024
+ if " $CFG_LLVM_ROOT /bin/llvm-mc" -help | grep -- " -relocation-model" ; then
1025
+ msg " found older llvm-mc"
1026
+ CFG_LLVM_MC_HAS_RELOCATION_MODEL=1
1027
+ putvar CFG_LLVM_MC_HAS_RELOCATION_MODEL
1028
+ fi
1023
1029
fi
1024
1030
1025
1031
# Even when the user overrides the choice of CC, still try to detect
1192
1198
;;
1193
1199
1194
1200
1195
- x86_64-* -musl)
1201
+ x86_64-* -musl | arm- * -musleabi )
1196
1202
if [ ! -f $CFG_MUSL_ROOT /lib/libc.a ]
1197
1203
then
1198
1204
err " musl libc $CFG_MUSL_ROOT /lib/libc.a not found"
0 commit comments