From fcaa07ca53ae5a4e586117fa72bd92de903affef Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 8 Aug 2012 21:14:40 +0000 Subject: Update to r74/autowaf (Add autowaf.set_c99_mode()). git-svn-id: http://svn.drobilla.net/sord/trunk@243 3d64ff67-21c5-427c-a301-fe4f08042e5a --- waf | Bin 72475 -> 94174 bytes wscript | 7 +------ 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/waf b/waf index 62ab137..45a6f80 100755 Binary files a/waf and b/waf differ diff --git a/wscript b/wscript index 50ed79b..7a0ca4d 100644 --- a/wscript +++ b/wscript @@ -46,14 +46,9 @@ def configure(conf): conf.load('compiler_c') conf.load('compiler_cxx') autowaf.configure(conf) + autowaf.set_c99_mode(conf) autowaf.display_header('Sord configuration') - if conf.env.MSVC_COMPILER: - conf.env.append_unique('CFLAGS', ['-TP', '-MD']) - conf.env.append_unique('CXXFLAGS', ['-TP', '-MD']) - else: - conf.env.append_unique('CFLAGS', '-std=c99') - autowaf.check_pkg(conf, 'serd-0', uselib_store='SERD', atleast_version='0.14.0', mandatory=True) autowaf.check_pkg(conf, 'libpcre', uselib_store='PCRE', mandatory=False) -- cgit v1.2.1