diff options
author | D G Turner | 2013-03-10 21:32:42 +0000 |
---|---|---|
committer | D G Turner | 2013-03-10 21:32:42 +0000 |
commit | 27abec484967403e083f18cd4f94ec70c22305bf (patch) | |
tree | f33536050458fa3b584ee84ef9ae0416e49e25f3 /ports.mk | |
parent | b4d6d443a5f3bec4e5e73ccdf6fbb7f4899d3169 (diff) | |
download | scummvm-rg350-27abec484967403e083f18cd4f94ec70c22305bf.tar.gz scummvm-rg350-27abec484967403e083f18cd4f94ec70c22305bf.tar.bz2 scummvm-rg350-27abec484967403e083f18cd4f94ec70c22305bf.zip |
BUILD: Add fix for "Illegal instruction: 4" on iPhone 5 and iPad 4.
This binary patch fix is intended to allow testing in the interim on
A6/A6X devices until the OSX porter updates the toolchains to cope with
the newer iOS devices.
Diffstat (limited to 'ports.mk')
-rw-r--r-- | ports.mk | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -86,6 +86,12 @@ endif cp $(srcdir)/dists/iphone/icon.png $(bundle_name)/ cp $(srcdir)/dists/iphone/icon-72.png $(bundle_name)/ cp $(srcdir)/dists/iphone/Default.png $(bundle_name)/ + # Binary patch workaround for Iphone 5/IPad 4 "Illegal instruction: 4" toolchain issue (http://code.google.com/p/iphone-gcc-full/issues/detail?id=6) + cp scummvm scummvm-iph5 + sed -i'' 's/\x00\x30\x93\xe4/\x00\x30\x93\xe5/g;s/\x00\x30\xd3\xe4/\x00\x30\xd3\xe5/g;' scummvm-iph5 + ldid -S scummvm-iph5 + chmod 755 scummvm-iph5 + cp scummvm-iph5 $(bundle_name)/ScummVM-iph5 # Location of static libs for the iPhone ifneq ($(BACKEND), iphone) |