Commit cd6c6372 authored by Felix Paul Kühne's avatar Felix Paul Kühne

build script: add bitcode support

parent f6cff184
...@@ -15,6 +15,7 @@ NONETWORK=no ...@@ -15,6 +15,7 @@ NONETWORK=no
SKIPLIBVLCCOMPILATION=no SKIPLIBVLCCOMPILATION=no
SCARY=yes SCARY=yes
TVOS=no TVOS=no
BITCODE=no
TESTEDHASH=1464d905 TESTEDHASH=1464d905
...@@ -34,6 +35,7 @@ OPTIONS ...@@ -34,6 +35,7 @@ OPTIONS
-t Build for tvOS -t Build for tvOS
-w Build a limited stack of non-scary libraries only -w Build a limited stack of non-scary libraries only
-y Build universal static libraries -y Build universal static libraries
-b Enable bitcode
EOF EOF
} }
...@@ -82,7 +84,7 @@ buildxcodeproj() ...@@ -82,7 +84,7 @@ buildxcodeproj()
> ${out} > ${out}
} }
while getopts "hvwsfdntlk:" OPTION while getopts "hvwsfbdntlk:" OPTION
do do
case $OPTION in case $OPTION in
h) h)
...@@ -115,8 +117,12 @@ do ...@@ -115,8 +117,12 @@ do
k) k)
SDK=$OPTARG SDK=$OPTARG
;; ;;
b)
BITCODE=yes
;;
t) t)
TVOS=yes TVOS=yes
BITCODE=yes
SDK=`xcrun --sdk appletvos --show-sdk-version` SDK=`xcrun --sdk appletvos --show-sdk-version`
;; ;;
?) ?)
......
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