[PATCH xserver 2/2] build: Drop -fno-strict-aliasing
Adam Jackson
ajax at redhat.com
Wed Dec 13 19:53:57 UTC 2017
For the autotools build this won't have any effect until a new
util-macros package is released.
Signed-off-by: Adam Jackson <ajax at redhat.com>
---
configure.ac | 6 ------
meson.build | 1 -
2 files changed, 7 deletions(-)
diff --git a/configure.ac b/configure.ac
index 456a9e0a96..5260f1f082 100644
--- a/configure.ac
+++ b/configure.ac
@@ -85,12 +85,6 @@ XORG_PROG_RAWCPP
# easier overrides at build time.
XSERVER_CFLAGS='$(CWARNFLAGS)'
-dnl Explicitly add -fno-strict-aliasing since this option should disappear
-dnl from util-macros CWARNFLAGS
-if test "x$GCC" = xyes ; then
- XSERVER_CFLAGS="$XSERVER_CFLAGS -fno-strict-aliasing"
-fi
-
dnl Check for dtrace program (needed to build Xserver dtrace probes)
dnl Also checks for <sys/sdt.h>, since some Linux distros have an
dnl ISDN trace program named dtrace
diff --git a/meson.build b/meson.build
index c028cc8aa7..da21d3441d 100644
--- a/meson.build
+++ b/meson.build
@@ -9,7 +9,6 @@ project('xserver', 'c',
add_project_arguments('-DHAVE_DIX_CONFIG_H', language: 'c')
cc = meson.get_compiler('c')
-add_global_arguments('-fno-strict-aliasing', language : 'c')
add_global_arguments('-fvisibility=hidden', language : 'c')
add_global_link_arguments('-fvisibility=hidden', language : 'c')
--
2.14.3
More information about the xorg-devel
mailing list