diff options
author | Pascal Stumpf <pascal@cvs.openbsd.org> | 2012-08-28 21:03:33 +0000 |
---|---|---|
committer | Pascal Stumpf <pascal@cvs.openbsd.org> | 2012-08-28 21:03:33 +0000 |
commit | 42c782845df9cc244f8b1884170cc7ef8ee77f17 (patch) | |
tree | 692fb495c77eadb1d4c3cf5bbeb49e0dba8ae7be /sys/arch/armish | |
parent | b38e4f3f802dc97f24e988744e68788b60154c14 (diff) |
Add -nopie to LINKFLAGS on ELF architectures. Note that this needs an
updated gcc and ld to understand the new -nopie flag.
ok deraadt@
Diffstat (limited to 'sys/arch/armish')
-rw-r--r-- | sys/arch/armish/conf/Makefile.armish | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/armish/conf/Makefile.armish b/sys/arch/armish/conf/Makefile.armish index 75621bd086c..d61bea83a69 100644 --- a/sys/arch/armish/conf/Makefile.armish +++ b/sys/arch/armish/conf/Makefile.armish @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.armish,v 1.43 2012/08/22 16:58:26 pascal Exp $ +# $OpenBSD: Makefile.armish,v 1.44 2012/08/28 21:03:32 pascal Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -38,7 +38,7 @@ CMACHFLAGS+= -fno-stack-protector COPTS?= -O2 CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE} AFLAGS= -D_LOCORE -x assembler-with-cpp ${CMACHFLAGS} -LINKFLAGS= -T ldscript --warn-common +LINKFLAGS= -T ldscript --warn-common -nopie .if ${IDENT:M-DDDB_STRUCT} DB_STRUCTINFO= db_structinfo.h |