diff options
-rw-r--r-- | misc/wscript | 1 | ||||
-rw-r--r-- | trace/wscript | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/misc/wscript b/misc/wscript index b3faf7b..f1e64ab 100644 --- a/misc/wscript +++ b/misc/wscript @@ -52,6 +52,7 @@ def build(bld): conf['warningflags'] = ['-Wall', '-Wextra', '-pedantic'] conf['optflags'] = bld.env.C_OPTS conf['cflags'] = ['-pipe', '-g'] + conf['optflags'] + conf['cflags'] = ['-std=c99'] + conf['cflags'] conf['linkflags'] = ['-g'] # diff --git a/trace/wscript b/trace/wscript index 53a1ab4..63ddd50 100644 --- a/trace/wscript +++ b/trace/wscript @@ -65,6 +65,7 @@ def build(bld): if bld.env.HAVE_STD_CXX14: cxxstd = '-std=c++14' conf['cxxflags'] = [cxxstd] + conf['cflags'] + conf['cflags'] = ['-std=c99'] + conf['cflags'] conf['linkflags'] = ['-g'] conf['lib'] = [] if bld.env.LIB_WS2_32: |