Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/librumphijack Override ssp also in case where it doesn't...



details:   https://anonhg.NetBSD.org/src/rev/b4661c5b8b6b
branches:  trunk
changeset: 788922:b4661c5b8b6b
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Jul 29 10:13:21 2013 +0000

description:
Override ssp also in case where it doesn't come intrinsically
from the compiler.

diffstat:

 lib/librumphijack/Makefile |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 08b6cda9823b -r b4661c5b8b6b lib/librumphijack/Makefile
--- a/lib/librumphijack/Makefile        Sun Jul 28 21:24:12 2013 +0000
+++ b/lib/librumphijack/Makefile        Mon Jul 29 10:13:21 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.11 2013/07/27 17:37:29 pooka Exp $
+#      $NetBSD: Makefile,v 1.12 2013/07/29 10:13:21 pooka Exp $
 #
 
 LIB=           rumphijack
@@ -11,7 +11,6 @@
 SRCS=          hijack.c hijackdlsym.c
 
 CPPFLAGS+=     -D_DIAGNOSTIC -D_REENTRANT -I${.CURDIR}/../librumpuser
-CPPFLAGS+=     -U_FORTIFY_SOURCE
 
 WARNS?=                5
 
@@ -19,4 +18,8 @@
 # a stack frame
 COPTS.hijackdlsym.c+=  -O0
 
+.include <bsd.sys.mk>
+
+CPPFLAGS+=     -U_FORTIFY_SOURCE
+
 .include <bsd.lib.mk>



Home | Main Index | Thread Index | Old Index