diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-04-20 20:20:26 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-04-20 20:20:26 +0200 |
| commit | 31acb337561811bd25d7c38238bb9c35a5f83532 (patch) | |
| tree | 24e9325fc5ee190176a238156e977f2eddca19ba /wscript | |
| parent | 819261fbb48c1b4bfbe2a7d5e88bc1529c912845 (diff) | |
Invert the sense of the gcov flag.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -58,7 +58,7 @@ def options(opt): opt.add_option('--static', action='store_true', default=False, help='build libdcp statically, and link statically to openjpeg, cxml, asdcplib-carl') opt.add_option('--disable-tests', action='store_true', default=False, help='disable building of tests') opt.add_option('--disable-benchmarks', action='store_true', default=False, help='disable building of benchmarks') - opt.add_option('--disable-gcov', action='store_true', default=False, help='don''t use gcov in tests') + opt.add_option('--enable-gcov', action='store_true', default=False, help='use gcov in tests') opt.add_option('--disable-examples', action='store_true', default=False, help='disable building of examples') opt.add_option('--enable-openmp', action='store_true', default=False, help='enable use of OpenMP') opt.add_option('--openmp', default='gomp', help='specify OpenMP Library to use: omp, gomp (default), iomp') @@ -223,7 +223,7 @@ def configure(conf): if not conf.env.DISABLE_TESTS: conf.recurse('test') - if not conf.options.disable_gcov: + if conf.options.enable_gcov: conf.check(lib='gcov', define_name='HAVE_GCOV', mandatory=False) conf.env.append_value('LINKFLAGS', '-fprofile-arcs') |
