summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/wscript b/wscript
index 9504218..4c7e77c 100644
--- a/wscript
+++ b/wscript
@@ -26,6 +26,7 @@ out = 'build'
def options(opt):
autowaf.set_options(opt)
+ opt.load('compiler_c')
opt.add_option('--test', action='store_true', default=False, dest='build_tests',
help="Build unit tests")
opt.add_option('--dump', type='string', default='', dest='dump',
@@ -36,7 +37,7 @@ def configure(conf):
conf.line_just = 32
autowaf.display_header('Sord configuration')
- conf.load('compiler_cc')
+ conf.load('compiler_c')
conf.env.append_value('CFLAGS', '-std=c99')
autowaf.check_pkg(conf, 'glib-2.0', uselib_store='GLIB',