Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk bsd.*.mk: move MKSTRIPSYM default to bsd.own.mk
details: https://anonhg.NetBSD.org/src/rev/5821c0fd5fe3
branches: trunk
changeset: 376180:5821c0fd5fe3
user: lukem <lukem%NetBSD.org@localhost>
date: Sat Jun 03 21:24:57 2023 +0000
description:
bsd.*.mk: move MKSTRIPSYM default to bsd.own.mk
Add default for MKSTRIPSYM=yes to to bsd.own.mk _MKVARS.no.
Test ${MKSTRIPSYM} != "no".
diffstat:
share/mk/bsd.lib.mk | 4 ++--
share/mk/bsd.lua.mk | 4 ++--
share/mk/bsd.own.mk | 3 ++-
share/mk/bsd.sys.mk | 4 ++--
4 files changed, 8 insertions(+), 7 deletions(-)
diffs (71 lines):
diff -r dad955af1ffa -r 5821c0fd5fe3 share/mk/bsd.lib.mk
--- a/share/mk/bsd.lib.mk Sat Jun 03 21:24:26 2023 +0000
+++ b/share/mk/bsd.lib.mk Sat Jun 03 21:24:57 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.lib.mk,v 1.393 2023/05/28 10:33:13 lukem Exp $
+# $NetBSD: bsd.lib.mk,v 1.394 2023/06/03 21:24:57 lukem Exp $
# @(#)bsd.lib.mk 8.3 (Berkeley) 4/22/94
.include <bsd.init.mk>
@@ -563,7 +563,7 @@ CLEANFILES+= ${_YLSRCS}
_LIBLDOPTS+= -Wl,-rpath-link,${DESTDIR}${SHLIBINSTALLDIR} \
-L=${SHLIBINSTALLDIR}
.endif
-.if ${MKSTRIPSYM:Uyes} == "yes"
+.if ${MKSTRIPSYM} != "no"
_LIBLDOPTS+= -Wl,-x
.else
_LIBLDOPTS+= -Wl,-X
diff -r dad955af1ffa -r 5821c0fd5fe3 share/mk/bsd.lua.mk
--- a/share/mk/bsd.lua.mk Sat Jun 03 21:24:26 2023 +0000
+++ b/share/mk/bsd.lua.mk Sat Jun 03 21:24:57 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.lua.mk,v 1.9 2023/04/16 20:46:17 nikita Exp $
+# $NetBSD: bsd.lua.mk,v 1.10 2023/06/03 21:24:57 lukem Exp $
#
# Build rules and definitions for Lua modules
@@ -129,7 +129,7 @@ DPSRCS+=${LUA_SRCS.${_M}}
SRCS+=${LUA_SRCS.${_M}}
LUA_LDOPTS= -Wl,--warn-shared-textrel
-.if ${MKSTRIPSYM:Uyes} == "yes"
+.if ${MKSTRIPSYM} != "no"
LUA_LDOPTS+= -Wl,-x
.else
LUA_LDOPTS+= -Wl,-X
diff -r dad955af1ffa -r 5821c0fd5fe3 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk Sat Jun 03 21:24:26 2023 +0000
+++ b/share/mk/bsd.own.mk Sat Jun 03 21:24:57 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.own.mk,v 1.1340 2023/06/03 21:23:49 lukem Exp $
+# $NetBSD: bsd.own.mk,v 1.1341 2023/06/03 21:24:57 lukem Exp $
# This needs to be before bsd.init.mk
.if defined(BSD_MK_COMPAT_FILE)
@@ -1213,6 +1213,7 @@ MKSTATICPIE?= no
MKSHARE \
MKSKEY \
MKSTATICLIB \
+ MKSTRIPSYM \
MKUNBOUND \
MKX11FONTS \
MKYP
diff -r dad955af1ffa -r 5821c0fd5fe3 share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk Sat Jun 03 21:24:26 2023 +0000
+++ b/share/mk/bsd.sys.mk Sat Jun 03 21:24:57 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.sys.mk,v 1.313 2023/04/29 20:31:59 christos Exp $
+# $NetBSD: bsd.sys.mk,v 1.314 2023/06/03 21:24:57 lukem Exp $
#
# Build definitions used for NetBSD source tree builds.
@@ -347,7 +347,7 @@ OBJCOPYLIBFLAGS_EXTRA=-w -K '[$$][dx]' -
OBJCOPYLIBFLAGS_EXTRA=-w -K '[$$][adt]' -K '[$$][adt]\.*'
.endif
-.if ${MKSTRIPSYM:Uyes} == "yes"
+.if ${MKSTRIPSYM} != "no"
OBJCOPYLIBFLAGS?=${"${.TARGET:M*.po}" != "":?-X:-x} ${OBJCOPYLIBFLAGS_EXTRA}
.else
OBJCOPYLIBFLAGS?=-X ${OBJCOPYLIBFLAGS_EXTRA}
Home |
Main Index |
Thread Index |
Old Index