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