mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-27 06:08:21 +01:00
iosbuild.sh: specify optimization flags
explicitly set '-O3 -DNDEBUG'. setting CFLAGS on the command line overrides the default, resulting in -O0. Change-Id: I213979f646b1444b1d8e0eb0bb58e9b2c3cc4dd3
This commit is contained in:
parent
8d34ea3e36
commit
f59c0b4bde
@ -72,7 +72,7 @@ for PLATFORM in ${PLATFORMS}; do
|
|||||||
mkdir -p "${ROOTDIR}"
|
mkdir -p "${ROOTDIR}"
|
||||||
|
|
||||||
SDKROOT="${PLATFORMSROOT}/${PLATFORM}.platform/Developer/SDKs/${PLATFORM}${SDK}.sdk/"
|
SDKROOT="${PLATFORMSROOT}/${PLATFORM}.platform/Developer/SDKs/${PLATFORM}${SDK}.sdk/"
|
||||||
CFLAGS="-arch ${ARCH2:-${ARCH}} -pipe -isysroot ${SDKROOT}"
|
CFLAGS="-arch ${ARCH2:-${ARCH}} -pipe -isysroot ${SDKROOT} -O3 -DNDEBUG"
|
||||||
LDFLAGS="-arch ${ARCH2:-${ARCH}} -pipe -isysroot ${SDKROOT}"
|
LDFLAGS="-arch ${ARCH2:-${ARCH}} -pipe -isysroot ${SDKROOT}"
|
||||||
|
|
||||||
if [[ -z "${XCODE}" ]]; then
|
if [[ -z "${XCODE}" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user