summaryrefslogtreecommitdiff
path: root/data/network-cmds/make.sh
diff options
context:
space:
mode:
Diffstat (limited to 'data/network-cmds/make.sh')
-rw-r--r--data/network-cmds/make.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/network-cmds/make.sh b/data/network-cmds/make.sh
index 90dd13938..7545bf0eb 100644
--- a/data/network-cmds/make.sh
+++ b/data/network-cmds/make.sh
@@ -3,8 +3,8 @@ tar -zxvf "${PKG_DATA}/network_cmds-306.tar.gz"
cd network_cmds-306
for tproj in !(natd|ping|spray).tproj; do
tproj=$(basename "${tproj}" .tproj)
- arm-apple-darwin-gcc -o "${tproj}" "${tproj}.tproj"/*.c -DPRIVATE -Dether_ntohost=_old_ether_ntohost
+ "${PKG_TARG}-gcc" -o "${tproj}" "${tproj}.tproj"/*.c -DPRIVATE -Dether_ntohost=_old_ether_ntohost
pkg:usrbin "${tproj}"
done
-arm-apple-darwin-gcc -Ialias -o natd natd.tproj/*.c alias/*.c -DPRIVATE
+"${PKG_TARG}-gcc" -Ialias -o natd natd.tproj/*.c alias/*.c -DPRIVATE
pkg:usrbin natd