mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
meson: use -fno-strict-aliasing where supported
https://bugzilla.gnome.org/show_bug.cgi?id=769183
This commit is contained in:
parent
5964247829
commit
3a8bed19da
1 changed files with 5 additions and 0 deletions
|
@ -32,6 +32,11 @@ if cc.has_argument('-fvisibility=hidden')
|
||||||
add_project_arguments('-fvisibility=hidden', language: 'c')
|
add_project_arguments('-fvisibility=hidden', language: 'c')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Disable strict aliasing
|
||||||
|
if cc.has_argument('-fno-strict-aliasing')
|
||||||
|
add_project_arguments('-fno-strict-aliasing', language: 'c')
|
||||||
|
endif
|
||||||
|
|
||||||
cdata = configuration_data()
|
cdata = configuration_data()
|
||||||
cdata.set_quoted('GETTEXT_PACKAGE', 'gst-rtsp-server-1.0')
|
cdata.set_quoted('GETTEXT_PACKAGE', 'gst-rtsp-server-1.0')
|
||||||
cdata.set_quoted('PACKAGE', 'gst-rtsp-server')
|
cdata.set_quoted('PACKAGE', 'gst-rtsp-server')
|
||||||
|
|
Loading…
Reference in a new issue