summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/stand/cdbr/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/amd64/stand/cdbr/Makefile')
-rw-r--r--sys/arch/amd64/stand/cdbr/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/amd64/stand/cdbr/Makefile b/sys/arch/amd64/stand/cdbr/Makefile
index bb11cdd1350..9770d3fb362 100644
--- a/sys/arch/amd64/stand/cdbr/Makefile
+++ b/sys/arch/amd64/stand/cdbr/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2012/08/21 14:46:18 pascal Exp $
+# $OpenBSD: Makefile,v 1.5 2012/08/29 17:45:00 pascal Exp $
#
PROG= cdbr
@@ -6,11 +6,11 @@ SRCS= cdbr.S
AFLAGS+=-m32 -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=-melf_i386 -nostdlib -Ttext ${ORG} -x -N -s -Bstatic -e start
-LDFLAGS+=-L/usr/libdata
+LDFLAGS+=-nopie -L/usr/libdata
NOMAN=
#MAN+= cdbr.8