diff options
author | 2015-09-11 17:46:59 +0000 | |
---|---|---|
committer | 2015-09-11 17:46:59 +0000 | |
commit | 5846460a219b876e1805fdeefb1be5aeecdf8a01 (patch) | |
tree | 25ae8a70e5e18367bb33e8667748224b7f879aa5 | |
parent | Nuke ssl_set_peer_cert_type(). (diff) | |
download | wireguard-openbsd-5846460a219b876e1805fdeefb1be5aeecdf8a01.tar.xz wireguard-openbsd-5846460a219b876e1805fdeefb1be5aeecdf8a01.zip |
Build actual boot code with -D_STANDALONE so that we do not include userland
headers by mistake.
-rw-r--r-- | sys/arch/macppc/stand/boot.mac/Makefile | 3 | ||||
-rw-r--r-- | sys/arch/macppc/stand/ofwboot/Makefile | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/macppc/stand/boot.mac/Makefile b/sys/arch/macppc/stand/boot.mac/Makefile index fa7ecf6667b..602ba54701a 100644 --- a/sys/arch/macppc/stand/boot.mac/Makefile +++ b/sys/arch/macppc/stand/boot.mac/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.12 2014/11/19 20:02:46 miod Exp $ +# $OpenBSD: Makefile,v 1.13 2015/09/11 17:46:59 miod Exp $ # $NetBSD: Makefile,v 1.1 1996/09/30 16:35:05 ws Exp $ S= ${.CURDIR}/../../../.. @@ -8,6 +8,7 @@ RELOC= E00000 ENTRY= _entry NOMAN= PROG= boot.mac +CFLAGS+= -D_STANDALONE SRCS= Locore.c main.c ofdev.c net.c netif_of.c netudp.c SRCS+= alloc.c cache.c hfs.c SRCS+= boot.c conf.c cmd.c vars.c ctime.c strtol.c diff --git a/sys/arch/macppc/stand/ofwboot/Makefile b/sys/arch/macppc/stand/ofwboot/Makefile index 67dbbc78a35..f2e89e59f01 100644 --- a/sys/arch/macppc/stand/ofwboot/Makefile +++ b/sys/arch/macppc/stand/ofwboot/Makefile @@ -1,10 +1,11 @@ -# $OpenBSD: Makefile,v 1.13 2014/11/19 20:02:50 miod Exp $ +# $OpenBSD: Makefile,v 1.14 2015/09/11 17:46:59 miod Exp $ # $NetBSD: Makefile,v 1.2 1997/04/17 07:46:24 thorpej Exp $ S= ${.CURDIR}/../../../.. R=../ PROG= ofwboot +CFLAGS+= -D_STANDALONE SRCS= Locore.c main.c ofdev.c net.c netif_of.c netudp.c SRCS+= alloc.c cache.c hfs.c SRCS+= boot.c conf.c cmd.c vars.c ctime.c strtol.c |