summaryrefslogtreecommitdiff
path: root/data/developer-cmds
diff options
context:
space:
mode:
Diffstat (limited to 'data/developer-cmds')
-rw-r--r--data/developer-cmds/make.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/developer-cmds/make.sh b/data/developer-cmds/make.sh
index cc176fdf7..43b80ceeb 100644
--- a/data/developer-cmds/make.sh
+++ b/data/developer-cmds/make.sh
@@ -1,10 +1,10 @@
pkg:setup
pkg: mkdir -p /usr/bin
-${PKG_TARG}-gcc -o hexdump/hexdump hexdump/{conv,display,hexdump,hexsyntax,odsyntax,parse}.c -D'__FBSDID(x)='
+${PKG_TARG}-gcc -o hexdump/hexdump hexdump/{conv,display,hexdump,hexsyntax,odsyntax,parse}.c -D'__FBSDID(x)=' -D__DARWIN_C_LEVEL=200112L
pkg: cp -a hexdump/hexdump /usr/bin
for bin in ctags error rpcgen unifdef; do
- ${PKG_TARG}-gcc -o "${bin}/${bin}" "${bin}"/*.c
+ ${PKG_TARG}-gcc -o "${bin}/${bin}" "${bin}"/*.c -D_POSIX_C_SOURCE=200112L -DS_IREAD=S_IRUSR -DS_IWRITE=S_IWUSR
pkg: cp -a "${bin}/${bin}" /usr/bin
done