Browse Source

Update to r74/autowaf (Add autowaf.set_c99_mode()).

git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4625 a436a847-0d15-0410-975c-d299462d15a1
zrythm_meson
David Robillard 11 years ago
parent
commit
89416fb955
  1. BIN
      waf
  2. 10
      wscript

BIN
waf vendored

Binary file not shown.

10
wscript

@ -35,13 +35,9 @@ def options(opt): @@ -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): @@ -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 = []

Loading…
Cancel
Save