mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 15:14:08 +00:00
Merge branch 'master' into v2.1
This commit is contained in:
commit
f6f838f840
@ -479,14 +479,15 @@ Or use Android. :-p
|
|||||||
ISDKP=$(xcrun --sdk iphoneos --show-sdk-path)
|
ISDKP=$(xcrun --sdk iphoneos --show-sdk-path)
|
||||||
ICC=$(xcrun --sdk iphoneos --find clang)
|
ICC=$(xcrun --sdk iphoneos --find clang)
|
||||||
ISDKF="-arch armv7 -isysroot $ISDKP"
|
ISDKF="-arch armv7 -isysroot $ISDKP"
|
||||||
make HOST_CC="clang -m32 -arch i386" CROSS="$(dirname $ICC)/" \
|
make DEFAULT_CC=clang HOST_CC="clang -m32 -arch i386" \
|
||||||
TARGET_FLAGS="$ISDKF" TARGET_SYS=iOS
|
CROSS="$(dirname $ICC)/" TARGET_FLAGS="$ISDKF" TARGET_SYS=iOS
|
||||||
|
|
||||||
# iOS/ARM64
|
# iOS/ARM64
|
||||||
ISDKP=$(xcrun --sdk iphoneos --show-sdk-path)
|
ISDKP=$(xcrun --sdk iphoneos --show-sdk-path)
|
||||||
ICC=$(xcrun --sdk iphoneos --find clang)
|
ICC=$(xcrun --sdk iphoneos --find clang)
|
||||||
ISDKF="-arch arm64 -isysroot $ISDKP"
|
ISDKF="-arch arm64 -isysroot $ISDKP"
|
||||||
make CROSS="$(dirname $ICC)/" TARGET_FLAGS="$ISDKF" TARGET_SYS=iOS
|
make DEFAULT_CC=clang CROSS="$(dirname $ICC)/" \
|
||||||
|
TARGET_FLAGS="$ISDKF" TARGET_SYS=iOS
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<h3 id="consoles">Cross-compiling for consoles</h3>
|
<h3 id="consoles">Cross-compiling for consoles</h3>
|
||||||
|
@ -166,10 +166,6 @@ else
|
|||||||
HOST_SYS= Windows
|
HOST_SYS= Windows
|
||||||
HOST_MSYS= cygwin
|
HOST_MSYS= cygwin
|
||||||
endif
|
endif
|
||||||
# Use Clang for OSX host.
|
|
||||||
ifeq (Darwin,$(HOST_SYS))
|
|
||||||
DEFAULT_CC= clang
|
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user