summaryrefslogtreecommitdiff
path: root/tools/d2c/bits/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'tools/d2c/bits/Makefile.am')
-rw-r--r--tools/d2c/bits/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/d2c/bits/Makefile.am b/tools/d2c/bits/Makefile.am
index b1d79b6..0d8beb8 100644
--- a/tools/d2c/bits/Makefile.am
+++ b/tools/d2c/bits/Makefile.am
@@ -26,6 +26,9 @@ libd2cbits_la_SOURCES = \
tokens.l \
grammar.y
+# _GNU_SOURCE : asprintf
+libd2cbits_la_CFLAGS = -D_GNU_SOURCE
+
# Automake fait les choses à moitié
CLEANFILES = grammar.h grammar.c grammar.output tokens.c tokens.h