From 06be33b0cc95d3a38ad10924104c9f737ccf3dd3 Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Sun, 18 Nov 2012 13:22:02 -0800 Subject: [PATCH] wscript: define _GNU_SOURCE. --- wscript | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wscript b/wscript index 9a552fc..05f3386 100644 --- a/wscript +++ b/wscript @@ -50,6 +50,8 @@ def configure(conf): conf.env.append_value('CXXFLAGS', optimization_flags ) conf.define( 'NDEBUG', 1 ) + conf.define( "_GNU_SOURCE", 1) + conf.env.append_value('CFLAGS',['-Wall']) # conf.env.append_value('CXXFLAGS',['-Wall','-fno-exceptions', '-fno-rtti']) conf.env.append_value('CXXFLAGS',['-Wall','-fno-rtti'])