Try -watchos_simulator_version_min and -tvos_simulator_version_min
parent
d48192d190
commit
d1156ddfc6
|
|
@ -222,21 +222,21 @@ fi
|
||||||
|
|
||||||
# ARM64 Simulator fixup. Under Xcode 6/iOS 8, it uses x86_64 and not i386
|
# ARM64 Simulator fixup. Under Xcode 6/iOS 8, it uses x86_64 and not i386
|
||||||
if [ "$IOS_ARCH" == "x86_64" ]; then
|
if [ "$IOS_ARCH" == "x86_64" ]; then
|
||||||
IOS_FLAGS="$IOS_FLAGS -miphoneos-version-min=8 -DCRYPTOPP_DISABLE_ASM"
|
IOS_FLAGS="$IOS_FLAGS -ios_simulator_version_min -DCRYPTOPP_DISABLE_ASM"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Disable ASM for simulator. We are failing on Travis due to missing _start.
|
# Disable ASM for simulator. We are failing on Travis due to missing _start.
|
||||||
# We may need to link against crt1.o for simulator builds. Also see
|
# We may need to link against crt1.o for simulator builds. Also see
|
||||||
# https://stackoverflow.com/q/24841283/608639
|
# https://stackoverflow.com/q/24841283/608639
|
||||||
if [ "$APPLE_SDK" == "WatchSimulator" ]; then
|
if [ "$APPLE_SDK" == "WatchSimulator" ]; then
|
||||||
IOS_FLAGS="$IOS_FLAGS -DCRYPTOPP_DISABLE_ASM"
|
IOS_FLAGS="$IOS_FLAGS -watchos_simulator_version_min -DCRYPTOPP_DISABLE_ASM"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Disable ASM for simulator. We are failing on Travis due to missing _start.
|
# Disable ASM for simulator. We are failing on Travis due to missing _start.
|
||||||
# We may need to link against crt1.o for simulator builds. Also see
|
# We may need to link against crt1.o for simulator builds. Also see
|
||||||
# https://stackoverflow.com/q/24841283/608639
|
# https://stackoverflow.com/q/24841283/608639
|
||||||
if [ "$APPLE_SDK" == "AppleTVSimulator" ]; then
|
if [ "$APPLE_SDK" == "AppleTVSimulator" ]; then
|
||||||
IOS_FLAGS="$IOS_FLAGS -DCRYPTOPP_DISABLE_ASM"
|
IOS_FLAGS="$IOS_FLAGS -tvos_simulator_version_min -DCRYPTOPP_DISABLE_ASM"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Simulator uses i386 or x86_64, Device uses ARMv5, ARMv6, ARMv7, ARMv7s or ARMv8
|
# Simulator uses i386 or x86_64, Device uses ARMv5, ARMv6, ARMv7, ARMv7s or ARMv8
|
||||||
|
|
|
||||||
|
|
@ -222,21 +222,21 @@ fi
|
||||||
|
|
||||||
# ARM64 Simulator fixup. Under Xcode 6/iOS 8, it uses x86_64 and not i386
|
# ARM64 Simulator fixup. Under Xcode 6/iOS 8, it uses x86_64 and not i386
|
||||||
if [ "$IOS_ARCH" == "x86_64" ]; then
|
if [ "$IOS_ARCH" == "x86_64" ]; then
|
||||||
IOS_FLAGS="$IOS_FLAGS -miphoneos-version-min=8 -DCRYPTOPP_DISABLE_ASM"
|
IOS_FLAGS="$IOS_FLAGS -ios_simulator_version_min -DCRYPTOPP_DISABLE_ASM"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Disable ASM for simulator. We are failing on Travis due to missing _start.
|
# Disable ASM for simulator. We are failing on Travis due to missing _start.
|
||||||
# We may need to link against crt1.o for simulator builds. Also see
|
# We may need to link against crt1.o for simulator builds. Also see
|
||||||
# https://stackoverflow.com/q/24841283/608639
|
# https://stackoverflow.com/q/24841283/608639
|
||||||
if [ "$APPLE_SDK" == "WatchSimulator" ]; then
|
if [ "$APPLE_SDK" == "WatchSimulator" ]; then
|
||||||
IOS_FLAGS="$IOS_FLAGS -DCRYPTOPP_DISABLE_ASM"
|
IOS_FLAGS="$IOS_FLAGS -watchos_simulator_version_min -DCRYPTOPP_DISABLE_ASM"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Disable ASM for simulator. We are failing on Travis due to missing _start.
|
# Disable ASM for simulator. We are failing on Travis due to missing _start.
|
||||||
# We may need to link against crt1.o for simulator builds. Also see
|
# We may need to link against crt1.o for simulator builds. Also see
|
||||||
# https://stackoverflow.com/q/24841283/608639
|
# https://stackoverflow.com/q/24841283/608639
|
||||||
if [ "$APPLE_SDK" == "AppleTVSimulator" ]; then
|
if [ "$APPLE_SDK" == "AppleTVSimulator" ]; then
|
||||||
IOS_FLAGS="$IOS_FLAGS -DCRYPTOPP_DISABLE_ASM"
|
IOS_FLAGS="$IOS_FLAGS -tvos_simulator_version_min -DCRYPTOPP_DISABLE_ASM"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Simulator uses i386 or x86_64, Device uses ARMv5, ARMv6, ARMv7, ARMv7s or ARMv8
|
# Simulator uses i386 or x86_64, Device uses ARMv5, ARMv6, ARMv7, ARMv7s or ARMv8
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue