[Xorg-driver-geode] [PATCH 7/9] Remove broken duplicate visibility configure option

Gaetan Nadon memsize at videotron.ca
Wed Nov 16 17:26:20 PST 2011


This was added by commit f762b456 in 2007 and has been since implemented
in the server which returns it in XORG_CFLAGS

pkg-config --cflags xorg-server

The server also takes care of platforms and compilers being used.
Currently the visibility is set twice and even if you disable it,
it is still passed through XORG_CFLAGS.

Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
 configure.ac |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/configure.ac b/configure.ac
index efe75d5..7818fc0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -64,11 +64,6 @@ AC_ARG_ENABLE(geodegx-panel,
 AC_ARG_ENABLE(werror,        AC_HELP_STRING([--enable-werror],
 				  [Treat warnings as errors (default: disabled)]),
 			        [WERROR=$enableval], [WERROR=no])
-AC_ARG_ENABLE(visibility,
-	      AC_HELP_STRING([--enable-visibility],
-			     [Enable GCC visibility optimizations]),
-			     [ AMD_CFLAGS="$AMD_CFLAGS -fvisibility=hidden" ],
-			     [ : ])
 
 # Define a configure option to enable/disable ztv
 AC_ARG_ENABLE(ztv,
-- 
1.7.4.1



More information about the Xorg-driver-geode mailing list