diff options
author | Pascal Stumpf <pascal@cvs.openbsd.org> | 2012-08-31 16:13:21 +0000 |
---|---|---|
committer | Pascal Stumpf <pascal@cvs.openbsd.org> | 2012-08-31 16:13:21 +0000 |
commit | b343c46c6eeb2d927f2ef96d3e3f628eb0741c91 (patch) | |
tree | 6950b05b01380aa98d7db0b472774d50eab944a8 /sys/arch/hppa/stand/cdboot | |
parent | 431638954e257e278ef83b2c84ab219b91691580 (diff) |
Kill NOPIE and NOPIE_FLAGS in hppa/stand.
ok deraadt@
Diffstat (limited to 'sys/arch/hppa/stand/cdboot')
-rw-r--r-- | sys/arch/hppa/stand/cdboot/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/hppa/stand/cdboot/Makefile b/sys/arch/hppa/stand/cdboot/Makefile index 256bfa4f5df..f8f38aa55ad 100644 --- a/sys/arch/hppa/stand/cdboot/Makefile +++ b/sys/arch/hppa/stand/cdboot/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.6 2012/08/21 14:46:18 pascal Exp $ +# $OpenBSD: Makefile,v 1.7 2012/08/31 16:13:20 pascal Exp $ NOMAN= no man S =${.CURDIR}/../../../.. @@ -20,7 +20,7 @@ SRCS+= pdc.c itecons.c dev_hppa.c dk.c elf32.c elf64.c SRCS+= milli.S strlen.c strlcpy.c LD?= ld -LDFLAGS+=-Bstatic -nostartfiles -nostdlib -N -Ttext $(LINKADDR) +LDFLAGS+=-Bstatic -nostartfiles -nostdlib -N -Ttext $(LINKADDR) -nopie LDFLAGS+=-T ${.CURDIR}/ld.script -Map cdboot.map SIZE?= size STRIP?= strip @@ -60,5 +60,5 @@ NOPROG= CPPFLAGS+=-DRELOC=${LOADADDR} -DHEAP_LIMIT=${HEAP_LIMIT} CFLAGS+=$(SACFLAGS) -I../.. -I${.CURDIR}/../libsa -I${S}/stand/boot -CFLAGS+=${NOPIE_FLAGS} -AFLAGS+=${NOPIE_FLAGS} +CFLAGS+=-fno-pie +AFLAGS+=-fno-pie |