summaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2025-01-16 16:01:56 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2025-01-16 20:08:58 +0100
commit1d5f0a88e0dac70cf6f99ccee2fac8eb33c1a7cf (patch)
tree22100ba9b942d4d6c9569395002f890221ff6fba /meson.build
parenttest: add link to Ubuntu autopkgtest status page in README (diff)
downloadsystemd-1d5f0a88e0dac70cf6f99ccee2fac8eb33c1a7cf.tar.xz
systemd-1d5f0a88e0dac70cf6f99ccee2fac8eb33c1a7cf.zip
fundamental: unify gcc warning pragmas at one place
This also drops HAVE_WSTRINGOP_TRUNCATION as the corresponding option was introduced in GCC 8, and our baseline is GCC 8.4.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build3
1 files changed, 0 insertions, 3 deletions
diff --git a/meson.build b/meson.build
index 5c364e1379..f9f400a7d6 100644
--- a/meson.build
+++ b/meson.build
@@ -538,14 +538,11 @@ endif
cpp = ' '.join(cc.cmd_array() + get_option('c_args')) + ' -E'
-has_wstringop_truncation = cc.has_argument('-Wstringop-truncation')
-
#####################################################################
# compilation result tests
conf.set('_GNU_SOURCE', 1)
conf.set('__SANE_USERSPACE_TYPES__', true)
-conf.set10('HAVE_WSTRINGOP_TRUNCATION', has_wstringop_truncation)
conf.set('SIZEOF_DEV_T', cc.sizeof('dev_t', prefix : '#include <sys/types.h>'))
conf.set('SIZEOF_INO_T', cc.sizeof('ino_t', prefix : '#include <sys/types.h>'))