diff options
author | Adam Jackson <ajax@benzedrine.nwnk.net> | 2007-01-08 15:20:44 -0500 |
---|---|---|
committer | Adam Jackson <ajax@benzedrine.nwnk.net> | 2007-01-08 15:20:44 -0500 |
commit | f762b456b98063860e38e9541f4be2fb1302e3c2 (patch) | |
tree | 46bfe01ece5c1623fa744f0c21c500ba0f189423 | |
parent | cf77a1fe9ec232cbb0d99685f34d0acb91ee5d88 (diff) |
Add --enable-visibility.
Allow the driver to be built with the default symbol visbility set to hidden,
for smaller better code.
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 92fabc3..93cc1ff 100644 --- a/configure.ac +++ b/configure.ac @@ -54,6 +54,12 @@ AC_ARG_ENABLE(geodegx-panel, [ ], [ AMD_CFLAGS="-DPNL_SUP $AMD_CFLAGS" ]) +AC_ARG_ENABLE(visibility, + AC_HELP_STRING([--enable-visibility], + [Enable GCC visibility optimizations]), + [ AMD_CFLAGS="$AMD_CFLAGS -fvisibility=hidden" ], + [ : ]) + # Checks for extensions XORG_DRIVER_CHECK_EXT(RANDR, randrproto) XORG_DRIVER_CHECK_EXT(RENDER, renderproto) |