mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
Honor the SDKROOT setting when building llvm.
Radar 7894069. llvm-svn: 105938
This commit is contained in:
parent
0a328228dd
commit
c9ffb114b4
@ -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