summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/makefile b/src/makefile
index 131b559..089240e 100644
--- a/src/makefile
+++ b/src/makefile
@@ -14,6 +14,8 @@ WARNS = -Wall -W
# STANDARD =
# STANDARD = --std=c89 -D_DEFAULT_SOURCE
STANDARD = --std=c99 -D_DEFAULT_SOURCE
+# some older versions of libc might need -D_POSIX_C_SOURCE -D_BSD_SOURCE
+# instead of -D_DEFAULT_SOURCE
vhd2vl : lex.yy.c vhd2vl.tab.c
$(CC) ${STANDARD} ${WARNS} -O2 -g -o vhd2vl lex.yy.c vhd2vl.tab.c -lfl
OpenPOWER on IntegriCloud