Module Name:    src
Committed By:   roy
Date:           Fri Mar 19 20:53:50 UTC 2010

Modified Files:
        src/libexec/ld.elf_so: Makefile

Log Message:
Use the gcc directive to disable SSP warnings.


To generate a diff of this commit:
cvs rdiff -u -r1.94 -r1.95 src/libexec/ld.elf_so/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/libexec/ld.elf_so/Makefile
diff -u src/libexec/ld.elf_so/Makefile:1.94 src/libexec/ld.elf_so/Makefile:1.95
--- src/libexec/ld.elf_so/Makefile:1.94	Thu Mar 18 22:17:55 2010
+++ src/libexec/ld.elf_so/Makefile	Fri Mar 19 20:53:50 2010
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.94 2010/03/18 22:17:55 roy Exp $
+#	$NetBSD: Makefile,v 1.95 2010/03/19 20:53:50 roy Exp $
 #
 # NOTE: when changing ld.so, ensure that ldd still compiles.
 #
@@ -16,10 +16,6 @@
 .include <bsd.init.mk>			# for OBJECT_FMT definition
 .include <bsd.shlib.mk>			# for SHLINKINSTALLDIR definition
 
-# We use alloca
-USE_FORT=	no
-USE_SSP=	no
-
 .if defined(LDELFSO_MACHINE_CPU) && !empty(LDELFSO_MACHINE_CPU) && \
     exists(${.CURDIR}/arch/${LDELFSO_MACHINE_CPU})
 ARCHSUBDIR=	${LDELFSO_MACHINE_CPU}
@@ -120,3 +116,7 @@
 
 .include <bsd.man.mk>
 .endif
+
+# We use alloca, so disable SSP warnings.
+# This has to come last in the CFLAGS ordering
+CFLAGS+=	-Wno-stack-protector

Reply via email to