Commit 89b9f649 authored by Felix Paul Kühne's avatar Felix Paul Kühne

MVK: correctly propagate BITCODE_GENERATION_MODE to Xcode if needed (closes #17)

parent 86c21aa8
......@@ -149,6 +149,11 @@ buildxcodeproj()
fi
fi
local bitcodeflag=""
if [ "$BITCODE" = "yes" ]; then
bitcodeflag="BITCODE_GENERATION_MODE=bitcode"
fi
local defs="$GCC_PREPROCESSOR_DEFINITIONS"
if [ "$SCARY" = "no" ]; then
defs="$defs NOSCARYCODECS"
......@@ -160,6 +165,7 @@ buildxcodeproj()
ARCHS="${architectures}" \
IPHONEOS_DEPLOYMENT_TARGET=${SDK_MIN} \
GCC_PREPROCESSOR_DEFINITIONS="$defs" \
${bitcodeflag} \
> ${out}
}
......
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