summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-04-20 20:20:26 +0200
committerCarl Hetherington <cth@carlh.net>2022-04-20 20:20:26 +0200
commit31acb337561811bd25d7c38238bb9c35a5f83532 (patch)
tree24e9325fc5ee190176a238156e977f2eddca19ba /wscript
parent819261fbb48c1b4bfbe2a7d5e88bc1529c912845 (diff)
Invert the sense of the gcov flag.
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/wscript b/wscript
index 1f5c3000..acb2a93e 100644
--- a/wscript
+++ b/wscript
@@ -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')