summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand/libz
diff options
context:
space:
mode:
authorPascal Stumpf <pascal@cvs.openbsd.org>2012-08-29 22:23:09 +0000
committerPascal Stumpf <pascal@cvs.openbsd.org>2012-08-29 22:23:09 +0000
commit7493eeb58e78138fb71a17ae74e69b32d25fb7cd (patch)
tree909d4e29a014823555c1f10a8bfaabf532337f3c /sys/arch/i386/stand/libz
parentccf68f900df0572e9a61d8a722adf14ffeacb14a (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/libz')
-rw-r--r--sys/arch/i386/stand/libz/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/stand/libz/Makefile b/sys/arch/i386/stand/libz/Makefile
index 2503a62a549..a2f048999a5 100644
--- a/sys/arch/i386/stand/libz/Makefile
+++ b/sys/arch/i386/stand/libz/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.12 2012/08/21 14:46:18 pascal Exp $
+# $OpenBSD: Makefile,v 1.13 2012/08/29 22:23:08 pascal Exp $
# $NetBSD: Makefile,v 1.2 1997/01/22 01:36:30 cgd Exp $
S=${.CURDIR}/../../../..
@@ -10,4 +10,4 @@ NOPIE=
.PATH: ${S}/lib/libz
.include "${S}/lib/libz/Makefile"
-CFLAGS+=${SACFLAGS} -I${S}/lib/libsa ${DEBUGFLAGS}
+CFLAGS+=${SACFLAGS} -I${S}/lib/libsa ${DEBUGFLAGS} -fno-pie