Commit 0ef1fb4b authored by Felix Paul Kühne's avatar Felix Paul Kühne

ios/build.sh: don't export the same variables twice

parent 08c26f8c
...@@ -167,6 +167,7 @@ cd "${VLCROOT}/contrib/iPhone${PLATFORM}" ...@@ -167,6 +167,7 @@ cd "${VLCROOT}/contrib/iPhone${PLATFORM}"
if [ "$PLATFORM" = "OS" ]; then if [ "$PLATFORM" = "OS" ]; then
export AS="${IOS_GAS_PREPROCESSOR} ${CC}" export AS="${IOS_GAS_PREPROCESSOR} ${CC}"
export ASCPP="${IOS_GAS_PREPROCESSOR} ${CC}" export ASCPP="${IOS_GAS_PREPROCESSOR} ${CC}"
export CCAS="${IOS_GAS_PREPROCESSOR} ${CC}"
else else
export AS="xcrun as" export AS="xcrun as"
export ASCPP="xcrun as" export ASCPP="xcrun as"
...@@ -200,16 +201,6 @@ fi ...@@ -200,16 +201,6 @@ fi
make make
spopd spopd
if [ "$PLATFORM" = "OS" ]; then
export AS="${IOS_GAS_PREPROCESSOR} ${CC}"
export ASCPP="${IOS_GAS_PREPROCESSOR} ${CC}"
export CCAS="${IOS_GAS_PREPROCESSOR} ${CC}"
else
export AS="xcrun as"
export ASCPP="xcrun as"
fi
info "Bootstraping vlc" info "Bootstraping vlc"
pwd pwd
info "VLCROOT = ${VLCROOT}" info "VLCROOT = ${VLCROOT}"
......
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