summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2014-12-03 08:56:18 +0000
committerJay Freeman <saurik@saurik.com>2014-12-03 08:56:18 +0000
commit821a66e81892c5ddd8deaf26b637728df273e2b7 (patch)
tree053f2a658b687f4bd5dbbd3273343253db8741de
parent210f4b086a4df1740738b422382888f7dd58f86c (diff)
Roll up a bunch of make.sh fixes.
git-svn-id: http://svn.telesphoreo.org/trunk@799 514c082c-b64e-11dc-b46d-3d985efe055d
-rwxr-xr-xmake.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/make.sh b/make.sh
index 9bfe1500f..50d251b6e 100755
--- a/make.sh
+++ b/make.sh
@@ -23,9 +23,9 @@ fi
export CODESIGN_ALLOCATE=$(which arm-apple-darwin9-codesign_allocate)
-for DEP_NAME in "${PKG_DEPS[@]}"; do
- "${PKG_MAKE}" "${DEP_NAME}"
-done
+#for DEP_NAME in "${PKG_DEPS[@]}"; do
+# "${PKG_MAKE}" "${DEP_NAME}"
+#done
export PKG_HASH=$({
"${PKG_BASE}"/util/catdir.sh "${PKG_DATA}" -L \( -name '.svn' -o -name '_*' \) -prune -o
@@ -121,8 +121,6 @@ function pkg:setup() {
export -f pkg:setup
function pkg:configure() {
- PKG_CONFIG="$(realpath "${PKG_BASE}/util/pkg-config.sh")" \
- ac_cv_prog_cc_g=no ac_cv_prog_cxx_g=no \
cfg=("${PKG_CONF}" \
ac_cv_prog_cc_g=no ac_cv_prog_cxx_g=no \
--build="$(${PKG_BASE}/util/config.guess)" \
@@ -131,15 +129,17 @@ function pkg:configure() {
--enable-shared=yes \
--prefix=$(cat "${PKG_BASE}/arch/${PKG_ARCH}/prefix") \
--localstatedir="/var/cache/${PKG_NAME}" \
+ CFLAGS='-O2 -mthumb -fno-common' \
"$@")
echo "${cfg[@]}"
+ PKG_CONFIG="$(realpath "${PKG_BASE}/util/pkg-config.sh")" \
"${cfg[@]}"
}
export -f pkg:configure
function pkg:make() {
- make CC="${PKG_TARG}-gcc" AR="${PKG_TARG}-ar" CFLAGS='-O2 -mthumb -fno-common' CXXFLAGS='-O2 -mthumb' "$@"
+ make CC="${PKG_TARG}-gcc" AR="${PKG_TARG}-ar" CXXFLAGS='-O2 -mthumb' "$@"
}
export -f pkg:make