forked from cory/tildefriends
build: Not all the toolchains support -Oz. Oh well.
This commit is contained in:
@ -29,14 +29,14 @@ do
|
||||
case $build_target in
|
||||
ios64-xcrun)
|
||||
TRIBLE="arm64-darwin-ios"
|
||||
OPTIONS="--static -static -Oz -ffunction-sections -fdata-sections -fPIC -Wno-macro-redefined -miphoneos-version-min=9.0"
|
||||
OPTIONS="--static -static -Os -ffunction-sections -fdata-sections -fPIC -Wno-macro-redefined -miphoneos-version-min=9.0"
|
||||
DESTDIR="/tmp/$BUILD_DIR/arm64-ios"
|
||||
SSL_TARGET="ios64-xcrun"
|
||||
CC=clang
|
||||
;;
|
||||
iossimulator-xcrun)
|
||||
TRIBLE="x86_64-darwin-ios"
|
||||
OPTIONS="--static -static -Oz -ffunction-sections -fdata-sections -fPIC -Wno-macro-redefined"
|
||||
OPTIONS="--static -static -Os -ffunction-sections -fdata-sections -fPIC -Wno-macro-redefined"
|
||||
DESTDIR="/tmp/$BUILD_DIR/x86_64-iossim"
|
||||
SSL_TARGET="iossimulator-xcrun"
|
||||
CC=clang
|
||||
|
Reference in New Issue
Block a user