summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2015-10-14 12:53:09 +0000
committerJay Freeman <saurik@saurik.com>2015-10-14 12:53:09 +0000
commit30d381412a835d9e5eeadf187a9c4ec7fe733b4c (patch)
tree17c97c6254aedaa6d774f8a8d2ba5a9ed9b5dfe7 /data
parent4b1aacd5d7f21c48567b4a4b7afcf0bf6fc1ab61 (diff)
We really need to compile ncurses with -marm.
git-svn-id: http://svn.telesphoreo.org/trunk@812 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data')
-rw-r--r--data/ncurses/make.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/data/ncurses/make.sh b/data/ncurses/make.sh
index 88ca3622f..1c3d79359 100644
--- a/data/ncurses/make.sh
+++ b/data/ncurses/make.sh
@@ -5,12 +5,12 @@ dir=$(echo *)
mkdir bld-ncurses{,w}
cd bld-ncurses
flags='--with-shared --without-normal --without-debug --enable-sigwinch --disable-mixed-case --enable-termcap'
-PKG_CONF=../${dir}/configure pkg:configure ${flags}
-make #CFLAGS='-O2 -mthumb'
+PKG_CONF=../${dir}/configure PKG_MCPU=-marm pkg:configure ${flags}
+make
pkg:install
cd ../bld-ncursesw
-PKG_CONF=../${dir}/configure pkg:configure ${flags} --disable-overwrite --enable-widec
-make #CFLAGS='-O2 -mthumb'
+PKG_CONF=../${dir}/configure PKG_MCPU=-marm pkg:configure ${flags} --disable-overwrite --enable-widec
+make
pkg:install
pkg: mkdir -p @/usr/lib
@@ -19,7 +19,7 @@ pkg: cp -aL /usr/lib/libncurses.dylib @/usr/lib/libncurses.dylib
pkg: mkdir -p /usr/lib/_ncurses
pkg: mv /usr/lib/lib{,n}curses.dylib /usr/lib/_ncurses/
-pkg: rm -f /usr/lib/*.a
+rm -f "${PKG_DEST}"/usr/lib/*.a
for ti in "${PKG_DEST}"/usr/share/terminfo/*/*; do
if [[ ${ti} == */@(?(pc)ansi|cons25|cygwin|dumb|linux|mach|rxvt|screen|sun|vt@(52|100|102|220)|swvt25?(m)|[Exe]term|putty|konsole|gnome|apple|Apple_Terminal|unknown)?([-+.]*) ]]; then