diff options
author | Pascal Stumpf <pascal@cvs.openbsd.org> | 2012-08-21 14:46:21 +0000 |
---|---|---|
committer | Pascal Stumpf <pascal@cvs.openbsd.org> | 2012-08-21 14:46:21 +0000 |
commit | 9333c875627ad69d46ab3793263036ff3b45cc49 (patch) | |
tree | 697841a9433248956f025a7d1b3cd8019dfef64c /sys/arch/zaurus | |
parent | 1caaeac6aae64a980b30cd0f00e3d491be174c97 (diff) |
Add NOPIE= bits for sys/arch/*/stand to ensure that bootblocks will always be
built with -fno-pie. This gets the hairiest part of PIE out of the way ...
ok deraadt@
Diffstat (limited to 'sys/arch/zaurus')
-rw-r--r-- | sys/arch/zaurus/stand/zboot/Makefile | 3 | ||||
-rw-r--r-- | sys/arch/zaurus/stand/zbsdmod/Makefile | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/zaurus/stand/zboot/Makefile b/sys/arch/zaurus/stand/zboot/Makefile index ade914bf559..30460a411d8 100644 --- a/sys/arch/zaurus/stand/zboot/Makefile +++ b/sys/arch/zaurus/stand/zboot/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.9 2007/11/26 10:26:03 deraadt Exp $ +# $OpenBSD: Makefile,v 1.10 2012/08/21 14:46:20 pascal Exp $ MAN= boot.8 MANSUBDIR=zaurus @@ -7,6 +7,7 @@ MLINKS= boot.8 boot.conf.5 .if ${MACHINE} == "zaurus" PROG= zboot LDFLAGS+=-nostdlib -Bstatic +NOPIE= INSTALL_STRIP= SRCS= crt0.c diff --git a/sys/arch/zaurus/stand/zbsdmod/Makefile b/sys/arch/zaurus/stand/zbsdmod/Makefile index dc0b010391c..e139a11c201 100644 --- a/sys/arch/zaurus/stand/zbsdmod/Makefile +++ b/sys/arch/zaurus/stand/zbsdmod/Makefile @@ -1,8 +1,9 @@ -# $OpenBSD: Makefile,v 1.3 2005/11/04 01:02:31 uwe Exp $ +# $OpenBSD: Makefile,v 1.4 2012/08/21 14:46:20 pascal Exp $ OBJS= zbsdmod.o SRCS= zbsdmod.c NOMAN= +NOPIE= all: ${OBJS} |