mesa: Add -fno-math-errno to CFLAGS.
authorMatt Turner <mattst88@gmail.com>
Fri, 31 Jul 2015 19:18:37 +0000 (12:18 -0700)
committerMatt Turner <mattst88@gmail.com>
Mon, 3 Aug 2015 16:24:23 +0000 (09:24 -0700)
commit875458b778e8d389e00f42269e716a3cb2761fab
tree5db224fb6dfd5d9be69f48ec8ee9581b5c2e110b
parent44e90f2a556a9b8ede12ae18a7cfa3a71e32d40c
mesa: Add -fno-math-errno to CFLAGS.

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.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
configure.ac