From: Tim-Philipp Müller Date: Tue, 30 Jan 2018 20:35:21 +0000 (+0000) Subject: meson: use -fno-strict-aliasing where supported X-Git-Tag: 1.16.2~170 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3a8bed19da1e510e18d48dce747a51339152d328;p=platform%2Fupstream%2Fgst-rtsp-server.git meson: use -fno-strict-aliasing where supported https://bugzilla.gnome.org/show_bug.cgi?id=769183 --- diff --git a/meson.build b/meson.build index 9117a96..1e860a4 100644 --- a/meson.build +++ b/meson.build @@ -32,6 +32,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 + cdata = configuration_data() cdata.set_quoted('GETTEXT_PACKAGE', 'gst-rtsp-server-1.0') cdata.set_quoted('PACKAGE', 'gst-rtsp-server')