diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-03-04 22:30:38 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-03-04 22:30:38 +0000 |
commit | 15af6c844c8e09d2bf0a04da1c56b5f190db4006 (patch) | |
tree | f782f7cec9fdbc5ca8fd3832cbeecca0a1f5c78e /share/mk/bsd.lkm.mk | |
parent | 33577054db54f8d9e821ee6afc97ff3e09150fa5 (diff) |
need to disable pp for lkm too; from lha@stacken.kth.se
Diffstat (limited to 'share/mk/bsd.lkm.mk')
-rw-r--r-- | share/mk/bsd.lkm.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/share/mk/bsd.lkm.mk b/share/mk/bsd.lkm.mk index b2f97094b6b..cd9c7b5e42f 100644 --- a/share/mk/bsd.lkm.mk +++ b/share/mk/bsd.lkm.mk @@ -1,4 +1,4 @@ -# $OpenBSD: bsd.lkm.mk,v 1.17 2001/07/18 13:23:03 espie Exp $ +# $OpenBSD: bsd.lkm.mk,v 1.18 2003/03/04 22:30:37 mickey Exp $ .if exists(${.CURDIR}/../Makefile.inc) .include "${.CURDIR}/../Makefile.inc" @@ -19,6 +19,7 @@ CFLAGS+= ${COPTS} -D_KERNEL -D_LKM -I/sys -I/sys/arch .if ${WARNINGS:L} == "yes" CFLAGS+= ${CDIAGFLAGS} .endif +CFLAGS+= -fno-stack-protector LDFLAGS+= -r .if defined(LKM) |