Browse Source

apple: add support for enable-bitcode=bitcode

It seems to be the actual default for xcode, and not =full.
Alexandre Janniaux 5 years ago
parent
commit
d3d55579f3
  1. 2
      extras/package/apple/build.sh
  2. 2
      extras/package/apple/xcode.sh

2
extras/package/apple/build.sh

@ -126,7 +126,7 @@ usage()
echo " --arch=ARCH Architecture to build for"
echo " (i386|x86_64|armv7|arm64)"
echo " --sdk=SDK Name of the SDK to build with (see 'xcodebuild -showsdks')"
echo " --enable-bitcode Enable bitcode for compilation, same as with =full"
echo " --enable-bitcode Enable bitcode for compilation, same as with =bitcode/full"
echo " --enable-bitcode=marker Enable bitcode marker for compilation"
echo " --enable-merge-plugins Enable the merging of plugins into a single archive"
echo " --disable-debug Disable libvlc debug mode (for release)"

2
extras/package/apple/xcode.sh

@ -21,7 +21,7 @@ BUILD_SUFFIX=""
BITCODE_FLAG=""
if [ "$(echo "${ENABLE_BITCODE}" | tr '[:upper:]' '[:lower:]')" = "yes" ]; then
if [ -z "${BITCODE_GENERATION_MODE}" ]; then
BITCODE_GENERATION_MODE=full
BITCODE_GENERATION_MODE=bitcode
fi
BITCODE_FLAG="--enable-bitcode=${BITCODE_GENERATION_MODE}"
BUILD_SUFFIX="-bitcode-${BITCODE_GENERATION_MODE}" #TODO forward

Loading…
Cancel
Save