mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-26 21:20:29 +00:00
Honor the SDKROOT setting when building llvm.
Radar 7894069. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105938 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e103194851
commit
bf1075cbe7
@ -66,7 +66,6 @@ echo DARWIN_VERS = $DARWIN_VERS
|
||||
DEVELOPER_DIR="${DEVELOPER_DIR-Developer}"
|
||||
if [ "$ARM_HOSTED_BUILD" = yes ]; then
|
||||
DT_HOME="$DEST_DIR/usr"
|
||||
HOST_SDKROOT=$SDKROOT
|
||||
else
|
||||
DT_HOME="$DEST_DIR/$DEVELOPER_DIR/usr"
|
||||
fi
|
||||
@ -195,7 +194,7 @@ if [ "x$MAJ_VER" != "x4" -o "x$MIN_VER" != "x0" ]; then
|
||||
fi
|
||||
|
||||
make $JOBS_FLAG $OPTIMIZE_OPTS UNIVERSAL=1 UNIVERSAL_ARCH="$HOSTS" \
|
||||
UNIVERSAL_SDK_PATH=$HOST_SDKROOT \
|
||||
UNIVERSAL_SDK_PATH=$SDKROOT \
|
||||
NO_RUNTIME_LIBS=1 \
|
||||
DISABLE_EDIS=1 \
|
||||
LLVM_SUBMIT_VERSION=$LLVM_SUBMIT_VERSION \
|
||||
|
Loading…
Reference in New Issue
Block a user