Commit f883371d authored by David Fuhrmann's avatar David Fuhrmann

build: Group OBJCFLAGS for simulator with the other flags

parent 4062fa4b
......@@ -228,6 +228,9 @@ buildLibVLC() {
fi
else # Simulator platform
LDFLAGS+=" -v"
# Use the new ABI on simulator, else we can't build
OBJCFLAGS+=" -fobjc-abi-version=2 -fobjc-legacy-dispatch"
fi
if [ "$BITCODE" = "yes" ]; then
......@@ -240,12 +243,6 @@ buildLibVLC() {
export OBJCFLAGS="${OBJCFLAGS}"
export LDFLAGS="${LDFLAGS}"
if [ "$PLATFORM" = "Simulator" ]; then
# Use the new ABI on simulator, else we can't build
export OBJCFLAGS="-fobjc-abi-version=2 -fobjc-legacy-dispatch ${OBJCFLAGS}"
fi
spushd ${VLCROOT}/contrib
info "Compiling third-party libraries"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment