summaryrefslogtreecommitdiff
path: root/data/diskdev-cmds/make.sh
diff options
context:
space:
mode:
Diffstat (limited to 'data/diskdev-cmds/make.sh')
-rw-r--r--data/diskdev-cmds/make.sh10
1 files changed, 4 insertions, 6 deletions
diff --git a/data/diskdev-cmds/make.sh b/data/diskdev-cmds/make.sh
index 7f70ce9d9..735de086b 100644
--- a/data/diskdev-cmds/make.sh
+++ b/data/diskdev-cmds/make.sh
@@ -4,8 +4,8 @@ cd *
cd disklib
rm -f mntopts.h getmntopts.c
-arm-apple-darwin-gcc -c *.c
-arm-apple-darwin-ar -r libdisk.a *.o
+${PKG_TARG}-gcc -c *.c
+${PKG_TARG}-ar -r libdisk.a *.o
cd ..
for tproj in !(fstyp|dev_mkdb|dump|fsck_hfs|fuser|mount_hfs|restore|quotacheck|ufs).tproj; do
@@ -21,15 +21,13 @@ for tproj in !(fstyp|dev_mkdb|dump|fsck_hfs|fuser|mount_hfs|restore|quotacheck|u
extra="${extra} -framework CoreFoundation"
fi
- arm-apple-darwin-gcc -Idisklib -o "${tproj}" $(find "${tproj}.tproj" -name '*.c') disklib/libdisk.a -lutil ${extra}
- arm-apple-darwin-strip "${tproj}"
+ ${PKG_TARG}-gcc -Idisklib -o "${tproj}" $(find "${tproj}.tproj" -name '*.c') disklib/libdisk.a -lutil ${extra}
done
cd fstyp.tproj
for c in *.c; do
bin=../$(basename "${c}" .c)
- arm-apple-darwin-gcc -o "${bin}" "${c}"
- arm-apple-darwin-strip "${bin}"
+ ${PKG_TARG}-gcc -o "${bin}" "${c}"
done
cd ..