diff options
author | Sam Bingner <sam@bingner.com> | 2018-10-12 16:38:39 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2018-10-12 16:38:39 -1000 |
commit | ab753fcde40b28248172c552ce2b1f23eddfc9f4 (patch) | |
tree | 2ff2724ef77294878f91b528843a0f0b6dba5462 /data/tapi | |
parent | 295030d5719c3af352cfc5394b8ce13e3a1e0fb9 (diff) |
Update more packages
Diffstat (limited to 'data/tapi')
-rw-r--r-- | data/tapi/_metadata/version | 1 | ||||
-rw-r--r-- | data/tapi/arch.diff | 13 | ||||
-rw-r--r-- | data/tapi/make.sh | 22 | ||||
-rw-r--r-- | data/tapi/tapi-1.30.tar.gz | bin | 0 -> 29071 bytes |
4 files changed, 36 insertions, 0 deletions
diff --git a/data/tapi/_metadata/version b/data/tapi/_metadata/version new file mode 100644 index 000000000..a159459e8 --- /dev/null +++ b/data/tapi/_metadata/version @@ -0,0 +1 @@ +274.2 diff --git a/data/tapi/arch.diff b/data/tapi/arch.diff new file mode 100644 index 000000000..e4cd7ab0f --- /dev/null +++ b/data/tapi/arch.diff @@ -0,0 +1,13 @@ +Only in ld64-274.2+iPhone: InputFiles.o +diff -ur ld64-274.2/src/ld/InputFiles.cpp ld64-274.2+iPhone/src/ld/InputFiles.cpp +--- ld64-274.2/src/ld/InputFiles.cpp 2016-07-01 15:46:14.000000000 -1000 ++++ ld64-274.2+iPhone/src/ld/InputFiles.cpp 2018-09-05 11:18:34.000000000 -1000 +@@ -881,6 +881,8 @@ + opts.setArchitecture(CPU_TYPE_X86_64, CPU_SUBTYPE_X86_64_ALL, Options::kPlatformOSX); + #elif __arm__ + opts.setArchitecture(CPU_TYPE_ARM, CPU_SUBTYPE_ARM_V6, Options::kPlatformOSX); ++#elif __arm64__ ++ opts.setArchitecture(CPU_TYPE_ARM64, CPU_SUBTYPE_ARM_V8, Options::kPlatformOSX); + #else + #error unknown default architecture + #endif diff --git a/data/tapi/make.sh b/data/tapi/make.sh new file mode 100644 index 000000000..ba8759529 --- /dev/null +++ b/data/tapi/make.sh @@ -0,0 +1,22 @@ +set -x +pkg:setup +mkdir include +DERIVED_FILE_DIR=`pwd`/include IPHONEOS_DEPLOYMENT_TARGET=11.0 src/create_configure +for cfile in $(find src -name '*.c'); do + basename=$(basename $cfile .c) + ${PKG_TARG}-gcc -o $basename.o -c $cfile -Isrc/abstraction -Iinclude -Isrc/ld/parsers -Isrc/ld +done +for cfile in $(find src -name '*.m'); do + basename=$(basename $cfile .m) + ${PKG_TARG}-gcc -ObjC -o $basename.o -c $cfile -Isrc/abstraction -Iinclude -Isrc/ld/parsers -Isrc/ld +done +for cppfile in $(find src -name '*.cpp'); do + basename=$(basename $cppfile .cpp) + ${PKG_TARG}-g++ -std=c++11 -o $basename.o -c $cppfile -Isrc/abstraction -Iinclude -Isrc/ld/parsers -Isrc/ld +done +cp src/other/PruneTrie.o . +${PKG_TARG}-gcc -o PruneTrie.o -c src/other/PruneTrie.cpp -Isrc/abstraction -Iinclude -Isrc/ld/parsers -Isrc/ld +${PKG_TARG}-ar -r libprunetrie.a PruneTrie.o +pkg: mkdir -p /usr/lib /usr/include/mach-o +pkg: cp libprunetrie.a /usr/lib +pkg: cp src/other/prune_trie.h /usr/include/mach-o diff --git a/data/tapi/tapi-1.30.tar.gz b/data/tapi/tapi-1.30.tar.gz Binary files differnew file mode 100644 index 000000000..38f567706 --- /dev/null +++ b/data/tapi/tapi-1.30.tar.gz |