4 ### XXX This is the default heap size. Would there be an occasion to
5 ### change it? It seems large, so we should investigate further.
7 .include "../../mk/bsd.fast.prefs.mk"
9 .if !empty(OPSYS:M*BSD) || ${OPSYS} == "Linux" || ${OPSYS} == "DragonFly"
10 CFLAGS+= -DUSE_NATIVE_LIBM_FUNCS
13 .if !empty(MACHINE_ARCH:Mi386)
15 ### This is taken from <sys/arch/i386/include/npx.h>. If we don't override
16 ### it, the FPU control word will be restored to 0x037f.
18 ### Also, see patch-aq about the libm functions required (float functions
19 ### such as floorf). Proper configuration of this should be a goal of
20 ### the Mesa developers; alas, it obviously is not.
22 ### XXX We need a reliable check for these functions.
24 #/* NetBSD uses IEEE double precision. */
25 CFLAGS.NetBSD+= -DDEFAULT_X86_FPU=0x127f
28 #/* FreeBSD leaves some exceptions unmasked as well. */
30 CFLAGS.FreeBSD+= -DDEFAULT_x86_FPU=0x1272