Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk white space for readability.
details: https://anonhg.NetBSD.org/src/rev/2de55211bb1b
branches: trunk
changeset: 358923:2de55211bb1b
user: christos <christos%NetBSD.org@localhost>
date: Mon Jan 22 17:34:01 2018 +0000
description:
white space for readability.
diffstat:
share/mk/bsd.sys.mk | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (44 lines):
diff -r 84e3219cf661 -r 2de55211bb1b share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk Mon Jan 22 17:33:01 2018 +0000
+++ b/share/mk/bsd.sys.mk Mon Jan 22 17:34:01 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.sys.mk,v 1.273 2018/01/22 17:33:01 christos Exp $
+# $NetBSD: bsd.sys.mk,v 1.274 2018/01/22 17:34:01 christos Exp $
#
# Build definitions used for NetBSD source tree builds.
@@ -134,9 +134,9 @@
LINTFLAGS+= ${DESTDIR:D-d ${DESTDIR}/usr/include}
.if !defined(NOSSP) && (${USE_SSP:Uno} != "no") && (${BINDIR:Ux} != "/usr/mdec")
-.if !defined(KERNSRCDIR) && !defined(KERN) # not for kernels nor kern modules
+. if !defined(KERNSRCDIR) && !defined(KERN) # not for kernels / kern modules
CPPFLAGS+= -D_FORTIFY_SOURCE=2
-.endif
+. endif
. if !defined(COVERITY_TOP_CONFIG)
COPTS+= -fstack-protector -Wstack-protector
@@ -146,7 +146,7 @@
# (the underlying issue for sh and vax may be different, needs more
# investigation, symptoms are similar but for different sources)
# also true for GCC 5.3
-.if "${ACTIVE_CC}" == "gcc" && \
+. if "${ACTIVE_CC}" == "gcc" && \
( ${HAVE_GCC} == "48" || \
${HAVE_GCC} == "53" ) && \
( ${MACHINE_CPU} == "sh3" || \
@@ -154,11 +154,11 @@
${MACHINE_CPU} == "m68k" || \
${MACHINE_CPU} == "or1k" )
COPTS+= -Wno-error=stack-protector
-.endif
+. endif
COPTS+= ${${ACTIVE_CC} == "clang":? --param ssp-buffer-size=1 :}
COPTS+= ${${ACTIVE_CC} == "gcc":? --param ssp-buffer-size=1 :}
-. endif
+. endif
.endif
.if ${MKSOFTFLOAT:Uno} != "no"
Home |
Main Index |
Thread Index |
Old Index