23 lines
679 B
Diff
23 lines
679 B
Diff
|
Index: wscript
|
||
|
===================================================================
|
||
|
--- wscript.orig
|
||
|
+++ 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', default=False,
|
||
|
dest='build_tests', help="Build unit tests")
|
||
|
@@ -46,7 +45,6 @@ def get_subdirs(with_plugins=True):
|
||
|
def configure(conf):
|
||
|
try:
|
||
|
conf.load('compiler_c')
|
||
|
- conf.load('compiler_cxx')
|
||
|
except:
|
||
|
Options.options.build_tests = False
|
||
|
Options.options.no_plugins = True
|