@@ -609,7 +609,7 @@ opt dist-host-only 0 "only install bins for the host architecture"
609609opt inject-std-version 1 " inject the current compiler version of libstd into programs"
610610opt llvm-version-check 1 " check if the LLVM version is supported, build anyway"
611611opt 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"
613613opt codegen-tests 1 " run the src/test/codegen tests"
614614opt option-checking 1 " complain about unrecognized options in this configure script"
615615opt 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
733733if [ -n " $CFG_ENABLE_DEBUGINFO " ]; then putvar CFG_ENABLE_DEBUGINFO; fi
734734if [ -n " $CFG_ENABLE_DEBUG_JEMALLOC " ]; then putvar CFG_ENABLE_DEBUG_JEMALLOC; fi
735735
736- if [ -n " $CFG_ENABLE_ORBIT " ]; then putvar CFG_ENABLE_ORBIT ; fi
736+ if [ -n " $CFG_DISABLE_ORBIT " ]; then putvar CFG_DISABLE_ORBIT ; fi
737737
738738step_msg " looking for build programs"
739739
@@ -1020,6 +1020,12 @@ then
10201020 err " bad LLVM version: $LLVM_VERSION , need >=3.7"
10211021 ;;
10221022 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
10231029fi
10241030
10251031# Even when the user overrides the choice of CC, still try to detect
11921198 ;;
11931199
11941200
1195- x86_64-* -musl)
1201+ x86_64-* -musl | arm- * -musleabi )
11961202 if [ ! -f $CFG_MUSL_ROOT /lib/libc.a ]
11971203 then
11981204 err " musl libc $CFG_MUSL_ROOT /lib/libc.a not found"
0 commit comments