diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2013-12-31 05:14:00 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2013-12-31 05:14:00 -0800 |
commit | 604cc486bdefb246c984a21dbb30cdaf8b0a7f4d (patch) | |
tree | d48cf2c845fd39c8e7a963a261f25a2a7d45663c | |
parent | 0204ccf74a729c6cc83f2a5e1be3bc1c728b7ccb (diff) | |
download | ldid-604cc486bdefb246c984a21dbb30cdaf8b0a7f4d.tar.gz ldid-604cc486bdefb246c984a21dbb30cdaf8b0a7f4d.tar.zst ldid-604cc486bdefb246c984a21dbb30cdaf8b0a7f4d.zip |
Very minor (critical) changes to the build script.v1.1.2
-rwxr-xr-x | ios.sh | 2 | ||||
-rw-r--r-- | ldid.cpp | 2 | ||||
-rwxr-xr-x | make.sh | 2 |
3 files changed, 4 insertions, 2 deletions
@@ -2,7 +2,7 @@ set -e -x -cycc -i2.0 -m10.5 -oldid.arm -- ldid.cpp sha1.c -x c lookup2.c -I . +cycc -i2.0 -m10.4 -oldid.arm -- ldid.cpp -x c sha1.c lookup2.c -I . rm -rf _ mkdir -p _/usr/bin @@ -23,7 +23,9 @@ #include "minimal/string.h" #include "minimal/mapping.h" +extern "C" { #include "sha1.h" +} #include <cstring> #include <string> @@ -9,7 +9,7 @@ if [[ -e $sdk ]]; then flags+=(-mmacosx-version-min=10.4 -isysroot "$sdk") fi -for arch in i386 x86_64 ppc armv6; do +for arch in i386 x86_64; do if g++ -arch "${arch}" --version &>/dev/null; then flags+=(-arch "${arch}") fi |