mesa: Add -fno-math-errno to CFLAGS.

Graphics / Mesa 3D Graphics Library / Mesa - Matt Turner [gmail.com] - 3 August 2015 11:24 UTC

Cuts about 9k of .text size.

text data bss dec hex filename 4992804 197808 26328 5216940 4f9aac i965_dri.so before 4983676 197808 26328 5207812 4f7704 i965_dri.so after

Also, Darwin's libm does not ever set errno, so if we care about those systems we shouldn't rely on errno anyway.

875458b mesa: Add -fno-math-errno to CFLAGS.
configure.ac | 3 +++
1 file changed, 3 insertions(+)

Upstream: cgit.freedesktop.org


  • Share