Module Name: src
Committed By: pooka
Date: Mon Jul 29 10:13:21 UTC 2013
Modified Files:
src/lib/librumphijack: Makefile
Log Message:
Override ssp also in case where it doesn't come intrinsically
from the compiler.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/lib/librumphijack/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/librumphijack/Makefile
diff -u src/lib/librumphijack/Makefile:1.11 src/lib/librumphijack/Makefile:1.12
--- src/lib/librumphijack/Makefile:1.11 Sat Jul 27 17:37:29 2013
+++ src/lib/librumphijack/Makefile Mon Jul 29 10:13:21 2013
@@ -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 @@ MAN= rumphijack.3
SRCS= hijack.c hijackdlsym.c
CPPFLAGS+= -D_DIAGNOSTIC -D_REENTRANT -I${.CURDIR}/../librumpuser
-CPPFLAGS+= -U_FORTIFY_SOURCE
WARNS?= 5
@@ -19,4 +18,8 @@ WARNS?= 5
# a stack frame
COPTS.hijackdlsym.c+= -O0
+.include <bsd.sys.mk>
+
+CPPFLAGS+= -U_FORTIFY_SOURCE
+
.include <bsd.lib.mk>