mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-22 14:00:37 +02:00
Compile with -fvisibility-hidden by default
We have all functions that need to be visible marked with PUBLIC and this is trimming around 4% off the DRI driver .so size.
This commit is contained in:
parent
a60084088b
commit
e388d62b47
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ esac
|
|||
|
||||
dnl Add flags for gcc and g++
|
||||
if test "x$GCC" = xyes; then
|
||||
CFLAGS="$CFLAGS -Wall -Wmissing-prototypes -std=c99 -ffast-math"
|
||||
CFLAGS="$CFLAGS -Wall -Wmissing-prototypes -std=c99 -ffast-math -fvisibility=hidden"
|
||||
|
||||
# Work around aliasing bugs - developers should comment this out
|
||||
CFLAGS="$CFLAGS -fno-strict-aliasing"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue