summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xwafbin72475 -> 94174 bytes
-rw-r--r--wscript10
2 files changed, 3 insertions, 7 deletions
diff --git a/waf b/waf
index 62ab137..45a6f80 100755
--- a/waf
+++ b/waf
Binary files differ
diff --git a/wscript b/wscript
index 5f0b4c2..20d521a 100644
--- a/wscript
+++ b/wscript
@@ -35,13 +35,9 @@ def options(opt):
def configure(conf):
conf.load('compiler_c')
autowaf.configure(conf)
+ autowaf.set_c99_mode(conf)
autowaf.display_header('Sratom Configuration')
- if conf.env.MSVC_COMPILER:
- conf.env.append_unique('CFLAGS', ['-TP', '-MD'])
- else:
- conf.env.append_unique('CFLAGS', '-std=c99')
-
conf.env.BUILD_TESTS = Options.options.build_tests
conf.env.BUILD_STATIC = Options.options.static
@@ -75,8 +71,8 @@ def build(bld):
['SERD', 'SORD', 'LV2'],
{'SRATOM_MAJOR_VERSION' : SRATOM_MAJOR_VERSION})
- libflags = [ '-fvisibility=hidden' ]
- libs = [ 'm' ]
+ libflags = ['-fvisibility=hidden']
+ libs = ['m']
defines = []
if bld.env.MSVC_COMPILER:
libflags = []