Deleted Added
full compact
Makefile (217029) Makefile (217033)
1# $FreeBSD: head/lib/libstand/Makefile 217029 2011-01-05 22:00:37Z dim $
1# $FreeBSD: head/lib/libstand/Makefile 217033 2011-01-05 22:24:33Z dim $
2# Originally from $NetBSD: Makefile,v 1.21 1997/10/26 22:08:38 lukem Exp $
3#
4# Notes:
5# - We don't use the libc strerror/sys_errlist because the string table is
6# quite large.
7#
8
9.include <bsd.own.mk>

--- 7 unchanged lines hidden (view full) ---

17
18WARNS?= 0
19
20CFLAGS+= -ffreestanding -Wformat
21CFLAGS+= -I${.CURDIR}
22
23.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
24CFLAGS+= -mpreferred-stack-boundary=2
2# Originally from $NetBSD: Makefile,v 1.21 1997/10/26 22:08:38 lukem Exp $
3#
4# Notes:
5# - We don't use the libc strerror/sys_errlist because the string table is
6# quite large.
7#
8
9.include <bsd.own.mk>

--- 7 unchanged lines hidden (view full) ---

17
18WARNS?= 0
19
20CFLAGS+= -ffreestanding -Wformat
21CFLAGS+= -I${.CURDIR}
22
23.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
24CFLAGS+= -mpreferred-stack-boundary=2
25CFLAGS+= -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3
25CFLAGS+= -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float
26.endif
27.if ${MACHINE} == "pc98"
28CFLAGS+= -Os
29.endif
30.if ${MACHINE_CPUARCH} == "powerpc"
31CFLAGS+= -msoft-float -D_STANDALONE -DNETIF_DEBUG
32.endif
33.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "powerpc64"

--- 132 unchanged lines hidden ---
26.endif
27.if ${MACHINE} == "pc98"
28CFLAGS+= -Os
29.endif
30.if ${MACHINE_CPUARCH} == "powerpc"
31CFLAGS+= -msoft-float -D_STANDALONE -DNETIF_DEBUG
32.endif
33.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "powerpc64"

--- 132 unchanged lines hidden ---