summaryrefslogtreecommitdiff
path: root/data/adv-cmds/make.sh
diff options
context:
space:
mode:
Diffstat (limited to 'data/adv-cmds/make.sh')
-rw-r--r--data/adv-cmds/make.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/data/adv-cmds/make.sh b/data/adv-cmds/make.sh
index eb439df86..307777e3a 100644
--- a/data/adv-cmds/make.sh
+++ b/data/adv-cmds/make.sh
@@ -1,10 +1,12 @@
pkg:setup
+"${PKG_TARG}-gcc" -O2 -mthumb -o tabs tabs.tproj/*.c -lncurses
+"${PKG_TARG}-g++" -O2 -mthumb -o locale/locale locale/*.cc
for tproj in finger fingerd last lsvfs md ps; do
- "${PKG_TARG}-gcc" -o "${tproj}" "${tproj}.tproj"/*.c -D'__FBSDID(x)='
+ echo "${tproj}"
+ "${PKG_TARG}-gcc" -O2 -mthumb -o "${tproj}" "${tproj}.tproj"/*.c -D'__FBSDID(x)='
done
-"${PKG_TARG}-gcc" -o tabs tabs.tproj/*.c -lncurses
pkg: mkdir -p /bin /usr/bin /usr/libexec
pkg: cp -a ps /bin
-pkg: cp -a finger last lsvfs md tabs /usr/bin
+pkg: cp -a finger last locale/locale lsvfs md tabs /usr/bin
pkg: cp -a fingerd /usr/libexec
ldid -S"${PKG_DATA}/ps.xml" "${PKG_DEST}/bin/ps"