aboutsummaryrefslogtreecommitdiff
path: root/extra/nawk/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/nawk/build')
-rwxr-xr-xextra/nawk/build2
1 files changed, 2 insertions, 0 deletions
diff --git a/extra/nawk/build b/extra/nawk/build
index 3b6e2372..a5c7444d 100755
--- a/extra/nawk/build
+++ b/extra/nawk/build
@@ -1,5 +1,7 @@
#!/bin/sh -e
+yacc -o awkgram.tab.c -H awkgram.tab.h awkgram.y
+
make CFLAGS="$CFLAGS -static"
clinst -Dm755 "a.out" "$1/usr/bin/nawk"
ln -s /usr/bin/nawk "$1/usr/bin/awk"