diff options
author | Pascal Stumpf <pascal@cvs.openbsd.org> | 2012-08-29 22:23:09 +0000 |
---|---|---|
committer | Pascal Stumpf <pascal@cvs.openbsd.org> | 2012-08-29 22:23:09 +0000 |
commit | 7493eeb58e78138fb71a17ae74e69b32d25fb7cd (patch) | |
tree | 909d4e29a014823555c1f10a8bfaabf532337f3c /sys/arch/i386/stand/cdbr | |
parent | ccf68f900df0572e9a61d8a722adf14ffeacb14a (diff) |
Kill all NOPIE and NOPIE_FLAGS in i386/stand, replacing them with -fno-pie
and -nopie directly. Binaries from a PIE system are identical to those from
a recent snapshot.
ok deraadt@
Diffstat (limited to 'sys/arch/i386/stand/cdbr')
-rw-r--r-- | sys/arch/i386/stand/cdbr/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/stand/cdbr/Makefile b/sys/arch/i386/stand/cdbr/Makefile index ae0757e2e32..0dbd52b606c 100644 --- a/sys/arch/i386/stand/cdbr/Makefile +++ b/sys/arch/i386/stand/cdbr/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.3 2012/08/21 14:46:18 pascal Exp $ +# $OpenBSD: Makefile,v 1.4 2012/08/29 22:23:08 pascal Exp $ # PROG= cdbr @@ -6,10 +6,10 @@ SRCS= cdbr.S AFLAGS+=-I${.CURDIR} -I${.CURDIR}/../../.. #-Wa,-a AFLAGS+=-DOSREV=\"${OSREV}\" AFLAGS+=-DMACH=\"${MACHINE}\" -DMACH_U=\"${MACHINE:U}\" -AFLAGS+=${NOPIE_FLAGS} +AFLAGS+=-fno-pie LD=ld ORG= 0x0000 -LDFLAGS=-nostdlib -Ttext ${ORG} -x -N -s -Bstatic -e start +LDFLAGS=-nostdlib -Ttext ${ORG} -x -N -s -Bstatic -e start -nopie NOMAN= #MAN+= cdbr.8 |