pixman: Branch 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Jun 10 16:38:04 UTC 2019
meson.build | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit be0d3e699401f8230fa88c28c52d73c57f13f327
Author: Christoph Reiter <reiter.christoph at gmail.com>
Date: Sat May 11 10:17:36 2019 +0200
meson: define SIZEOF_LONG and use -Wundef
meson builds defaulted to SIZEOF_LONG=0 in various places
diff --git a/meson.build b/meson.build
index 1a11587..3a1a4c2 100644
--- a/meson.build
+++ b/meson.build
@@ -36,6 +36,7 @@ add_project_arguments(
'-Wdeclaration-after-statement',
'-fno-strict-aliasing',
'-fvisibility=hidden',
+ '-Wundef',
]),
language : ['c']
)
@@ -445,6 +446,8 @@ if host_machine.endian() == 'big'
config.set('WORDS_BIGENDIAN', 1)
endif
+config.set('SIZEOF_LONG', cc.sizeof('long'))
+
# Required to make pixman-private.h
config.set('PACKAGE', 'foo')
More information about the xorg-commit
mailing list