Deleted Added
full compact
Makefile (256281) Makefile (260096)
1# $FreeBSD: stable/10/lib/libstand/Makefile 250023 2013-04-28 16:35:24Z rwatson $
1# $FreeBSD: stable/10/lib/libstand/Makefile 260096 2013-12-30 20:15:46Z 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>

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

16MAN= libstand.3
17
18WARNS?= 0
19
20CFLAGS+= -ffreestanding -Wformat
21CFLAGS+= -I${.CURDIR}
22
23.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
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>

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

16MAN= libstand.3
17
18WARNS?= 0
19
20CFLAGS+= -ffreestanding -Wformat
21CFLAGS+= -I${.CURDIR}
22
23.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
24CFLAGS+= -mpreferred-stack-boundary=2
24CFLAGS.gcc+= -mpreferred-stack-boundary=2
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

--- 158 unchanged lines hidden ---
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

--- 158 unchanged lines hidden ---