diff options
Diffstat (limited to 'meson.build')
| -rw-r--r-- | meson.build | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/meson.build b/meson.build index e74d184..d162424 100644 --- a/meson.build +++ b/meson.build @@ -12,32 +12,6 @@ if get_option('buildtype') == 'release' add_global_arguments('-DNDEBUG', language: 'c') endif -if get_option('sanitize') - sanitizers = ['address', 'undefined'] - if cc.has_argument('-fsanitize=integer') - sanitizers += ['integer'] - endif - if cc.has_argument('-fsanitize=nullability') - sanitizers += ['nullability'] - endif - add_global_arguments('-fsanitize='+','.join(sanitizers), language: 'c') - add_global_link_arguments('-fsanitize='+','.join(sanitizers), language: 'c') - if cc.has_argument('-fno-sanitize=unsigned-integer-overflow') - add_global_arguments('-fno-sanitize=unsigned-integer-overflow', language: 'c') - endif -endif - -if get_option('modularize') - if not cc.has_argument('-fmodules') - error('option \'modularize\' requires clang') - endif - add_global_arguments(['-fmodules', - '-fmodule-map-file='+ - meson.current_source_dir()+ - '/src/compfy.modulemap'], - language: 'c') -endif - add_global_arguments('-D_GNU_SOURCE', language: 'c') if cc.has_header('stdc-predef.h') @@ -61,8 +35,6 @@ if get_option('with_docs') install_data('./man/compfy.1', install_dir: join_paths(get_option('mandir'), 'man1')) endif -test_h_dep = subproject('test.h').get_variable('test_h_dep') - subdir('src') install_data('compfy.desktop', install_dir: 'share/applications') |