mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
meson: use -fno-strict-aliasing if supported
https://bugzilla.gnome.org/show_bug.cgi?id=769183
This commit is contained in:
parent
c443e33a3a
commit
dbae19773a
1 changed files with 5 additions and 0 deletions
|
@ -55,6 +55,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
|
||||||
|
|
||||||
core_conf = configuration_data()
|
core_conf = configuration_data()
|
||||||
check_headers = [
|
check_headers = [
|
||||||
['HAVE_DLFCN_H', 'dlfcn.h'],
|
['HAVE_DLFCN_H', 'dlfcn.h'],
|
||||||
|
|
Loading…
Reference in a new issue