summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2015-02-13 18:19:58 +0100
committerLars-Dominik Braun <lars@6xq.net>2015-05-02 21:36:45 +0200
commitdbc44a2d45153760ee710f4ebcbd09f9ac196fea (patch)
tree519ce5e7ddd697c8102a83ce3bb2a32886dccc5f /wscript
parent6527e433b6856995a356e0fc0dfa5ef7816bb60f (diff)
downloadpucket-dbc44a2d45153760ee710f4ebcbd09f9ac196fea.tar.gz
pucket-dbc44a2d45153760ee710f4ebcbd09f9ac196fea.tar.bz2
pucket-dbc44a2d45153760ee710f4ebcbd09f9ac196fea.zip
Remove unused variables, fix compiler warnings
Diffstat (limited to 'wscript')
-rw-r--r--wscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/wscript b/wscript
index ce03849..61459f7 100644
--- a/wscript
+++ b/wscript
@@ -6,6 +6,7 @@ def configure(conf):
conf.load ('compiler_c')
conf.env.append_unique ('CFLAGS', '-std=gnu99')
+ conf.env.append_unique ('CFLAGS', '-D_GNU_SOURCE')
conf.check_cfg (path='xml2-config', args='--cflags --libs', package='', uselib_store='xml2')
conf.check_cc (lib='xml2', header_name='libxml/parser.h', function_name='xmlParseFile', use='xml2')