Skip to content

Commit

Permalink
IOS: Fixes compilation under Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Bénony committed Jan 6, 2016
1 parent 873e383 commit dcad83e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
13 changes: 5 additions & 8 deletions configure
Expand Up @@ -2056,8 +2056,8 @@ echo_n "Checking host CPU architecture... "
case $_host_cpu in
arm*)
case $_host_alias in
arm-apple*)
echo "Apple iPhone - ARM assembly disabled"
arm-apple-darwin11)
echo "Apple iOS 7+ - ARM assembly disabled"
;;
*)
echo "ARM"
Expand Down Expand Up @@ -2720,9 +2720,6 @@ if test -n "$_host"; then
_mt32emu=no
_seq_midi=no
_timidity=no
_ar="ar cru"
_ranlib=ranlib
_strip=strip
;;
m68k-atari-mint)
append_var DEFINES "-DSYSTEM_NOT_SUPPORTING_D_TYPE"
Expand Down Expand Up @@ -3025,9 +3022,9 @@ case $_backend in
append_var CFLAGS "-miphoneos-version-min=7.1 -arch armv7"
append_var CXXFLAGS "-miphoneos-version-min=7.1 -arch armv7"
if test -n "$SDKROOT"; then
append_var LDFLAGS "-isysroot $SDKROOT -I $SDKROOT/usr/include"
append_var CFLAGS "-isysroot $SDKROOT -I $SDKROOT/usr/include"
append_var CXXFLAGS "-isysroot $SDKROOT -I $SDKROOT/usr/include"
append_var LDFLAGS "-mlinker-version=134.9 -B/usr/local/bin/arm-apple-darwin11-"
append_var CFLAGS "-isysroot $SDKROOT -F$SDKROOT/System/Library/Frameworks"
append_var CXXFLAGS "-isysroot $SDKROOT -I$SDKROOT/usr/include/c++/4.2.1 -F$SDKROOT/System/Library/Frameworks"
fi
;;
linuxmoto)
Expand Down
2 changes: 1 addition & 1 deletion ports.mk
Expand Up @@ -167,7 +167,7 @@ ios7bundle: ios7
s=2}\
s==0 {print $$0}\
s > 0 { s-- }' $(srcdir)/dists/ios7/Info.plist >$(bundle_name)/Info.plist
sed -i '' -e 's/$$(PRODUCT_BUNDLE_IDENTIFIER)/org.scummvm.scummvm/' $(bundle_name)/Info.plist
sed -i'' -e 's/$$(PRODUCT_BUNDLE_IDENTIFIER)/org.scummvm.scummvm/' $(bundle_name)/Info.plist
cp $(DIST_FILES_DOCS) $(bundle_name)/
cp $(DIST_FILES_THEMES) $(bundle_name)/
ifdef DIST_FILES_ENGINEDATA
Expand Down

0 comments on commit dcad83e

Please sign in to comment.