summaryrefslogtreecommitdiff
path: root/core/awk
diff options
context:
space:
mode:
Diffstat (limited to 'core/awk')
-rw-r--r--core/awk/gen.rc6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/awk/gen.rc b/core/awk/gen.rc
index 0d87a171..9d9b3a2e 100644
--- a/core/awk/gen.rc
+++ b/core/awk/gen.rc
@@ -1,4 +1,8 @@
-cflags '-std=c90' -I '$outdir' -I '$srcdir'
+cflags\
+ '-std=c90' \
+ -D '_POSIX_C_SOURCE=200809L' \
+ -I '$outdir' \
+ -I '$srcdir'
yacc gram '$srcdir'/awkgram.y
build '$outdir'/ytab.h copy '$outdir'/gram.tab.h