1 # $NetBSD: Makefile,v 1.7 2014/04/06 19:28:59 christos Exp $
9 CPPFLAGS
+= -D_FORTIFY_SOURCE
=2
11 COPTS.h_raw.c
= -fstack-protector-all
-Wstack-protector
12 COPTS.h_raw.c
+= ${${ACTIVE_CC} == "gcc":?
--param ssp-buffer-size
=1 :}
13 COPTS.h_raw.c
+= ${${ACTIVE_CC} == "clang":?
--param ssp-buffer-size
=1 :}
17 .ifmake
!clean && !obj
&& !cleandir
19 ${AR} cr libssp_nonshared.a
22 CLEANFILES
+= libssp_nonshared.a
25 TESTSDIR
= ${TESTSBASE}/lib
/libc
/ssp
51 .
include <bsd.
test.mk
>