mirror of
https://github.com/X11Libre/xf86-video-geode.git
synced 2026-03-24 17:45:30 +00:00
Add --enable-visibility.
Allow the driver to be built with the default symbol visbility set to hidden, for smaller better code.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user