projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d897de9
)
meson: use -fno-strict-aliasing where supported
author
Tim-Philipp Müller
<tim@centricular.com>
Tue, 30 Jan 2018 20:38:37 +0000
(20:38 +0000)
committer
Tim-Philipp Müller
<tim@centricular.com>
Tue, 30 Jan 2018 20:38:41 +0000
(20:38 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=769183
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index
b54dd89
..
e1700ec
100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-26,6
+26,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
+
# Mandatory GST deps
libm = cc.find_library('m', required : false)
gst_dep = dependency('gstreamer-1.0', version : gst_req,