mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 09:10:11 +01:00
mesa: Add -fno-trapping-math to CFLAGS.
Cuts about 1k of .text size. text data bss dec hex filename 4983676 197808 26328 5207812 4f7704 i965_dri.so before 4982522 197800 26328 5206650 4f727a i965_dri.so after Reviewed-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
parent
875458b778
commit
f55c408067
1 changed files with 2 additions and 2 deletions
|
|
@ -286,8 +286,8 @@ if test "x$GCC" = xyes; then
|
||||||
# Work around aliasing bugs - developers should comment this out
|
# Work around aliasing bugs - developers should comment this out
|
||||||
CFLAGS="$CFLAGS -fno-strict-aliasing"
|
CFLAGS="$CFLAGS -fno-strict-aliasing"
|
||||||
|
|
||||||
# We don't want floating-point math functions to set errno
|
# We don't want floating-point math functions to set errno or trap
|
||||||
CFLAGS="$CFLAGS -fno-math-errno"
|
CFLAGS="$CFLAGS -fno-math-errno -fno-trapping-math"
|
||||||
|
|
||||||
# gcc's builtin memcmp is slower than glibc's
|
# gcc's builtin memcmp is slower than glibc's
|
||||||
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43052
|
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43052
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue