summaryrefslogtreecommitdiff
path: root/data/odcctools/make.sh
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2019-12-02 16:59:08 -1000
committerSam Bingner <sam@bingner.com>2019-12-05 13:30:39 -1000
commit81ce87a73d69e489130901214af740fcff6f62a5 (patch)
tree86109f2028f22927b4a2889de7194479c28c7126 /data/odcctools/make.sh
parentaab8977ee9f4c3b7221a4106866b4f3a79d25a61 (diff)
Compile odcctools for appletv
Diffstat (limited to 'data/odcctools/make.sh')
-rw-r--r--data/odcctools/make.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/data/odcctools/make.sh b/data/odcctools/make.sh
index c62939346..6c24ea537 100644
--- a/data/odcctools/make.sh
+++ b/data/odcctools/make.sh
@@ -1,7 +1,9 @@
pkg:setup
-pkg: export RC_ProjectSourceVersion="$(cat ${PKG_DATA}/_metadata/version)"
-pkg:make DSTROOT="${PKG_DEST}" SDKROOT="${PKG_ROOT}"
-pkg:install DSTROOT="${PKG_DEST}" SDKROOT="${PKG_ROOT}"
+VERS="$(pkg: cat %/_metadata/version)"
+pkg:make RC_ProjectSourceVersion="${VERS}"
+#pkg:make DSTROOT="${PKG_DEST}" SDKROOT="${PKG_ROOT}" RC_ProjectSourceVersion="${VERS}"
+#make install CC="${PKG_TARG}-gcc" CXX="${PKG_TARG}-g++" AR="${PKG_TARG}-ar" DSTROOT="${PKG_DEST}" SDKROOT="${PKG_ROOT}" RC_ProjectSourceVersion="${VERS}"
+make install CC="${PKG_TARG}-gcc" CXX="${PKG_TARG}-g++" AR="${PKG_TARG}-ar" DSTROOT="${PKG_DEST}" RC_ProjectSourceVersion="${VERS}"
pkg: rm -f /usr/lib/system/libmacho.dylib /usr/bin/{nm,otool,size}
pkg: mv -f /usr/bin/ar{,-classic}
pkg: ln -s llvm-ar /usr/bin/ar