aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-21 04:39:23 +0000
committerDavid Robillard <d@drobilla.net>2012-08-21 04:39:23 +0000
commit39901b12b65c049031e205c8f82d156d2345c9e1 (patch)
tree115a09be25a1d59698c3ce36ec94ea271d6ab88b /wscript
parentfd74305f08c85ad62201de8d51d71a3f1d86cd54 (diff)
downloadlv2-39901b12b65c049031e205c8f82d156d2345c9e1.tar.xz
Remove unnecessary check for C++ compiler (fix ticket #4).
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 1 insertions, 3 deletions
diff --git a/wscript b/wscript
index df80fe7..a29d54e 100644
--- a/wscript
+++ b/wscript
@@ -21,8 +21,7 @@ top = '.'
out = 'build'
def options(opt):
- opt.load('compiler_cc')
- opt.load('compiler_cxx')
+ opt.load('compiler_c')
autowaf.set_options(opt)
opt.add_option('--test', action='store_true', dest='build_tests',
help='Build unit tests')
@@ -35,7 +34,6 @@ def options(opt):
def configure(conf):
try:
conf.load('compiler_c')
- conf.load('compiler_cxx')
except:
Options.options.build_tests = False
Options.options.no_plugins = True