projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c443e33
)
meson: use -fno-strict-aliasing if supported
author
Tim-Philipp Müller
<tim@centricular.com>
Tue, 30 Jan 2018 20:33:36 +0000
(20:33 +0000)
committer
Tim-Philipp Müller
<tim@centricular.com>
Tue, 30 Jan 2018 20:33:39 +0000
(20:33 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=769183
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index 073a40179831ff0fe4272be07193ed3cb9f6f68b..86fa61c7460dcc659a8bca36ab3d8e77d6d44591 100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-55,6
+55,11
@@
if cc.has_argument('-fvisibility=hidden')
add_project_arguments('-fvisibility=hidden', language: 'c')
endif
+# Disable strict aliasing
+if cc.has_argument('-fno-strict-aliasing')
+ add_project_arguments('-fno-strict-aliasing', language: 'c')
+endif
+
core_conf = configuration_data()
check_headers = [
['HAVE_DLFCN_H', 'dlfcn.h'],