diff options
author | yyamano <yyamano> | 2002-02-27 04:41:22 +0000 |
---|---|---|
committer | yyamano <yyamano> | 2002-02-27 04:41:22 +0000 |
commit | c64ece610c325cc6cd509b21e7c637aa4e4fc5f3 (patch) | |
tree | 0a65cdfd3842f679fe704164ae973debc334147f /mk | |
parent | 30e80893c5f9db226d36bab6e92451a998291545 (diff) | |
download | pkgsrc-c64ece610c325cc6cd509b21e7c637aa4e4fc5f3.tar.gz |
Add _STRIPFLAG_CC and _STRIPFLAG_INSTALL to fix PR 15467.
I'll replace all STRIPFLAG in pkgsrc with STRIPFLAG_CC or STRIPFLAG_INSTALL.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/defs.Darwin.mk | 7 | ||||
-rw-r--r-- | mk/defs.Linux.mk | 7 | ||||
-rw-r--r-- | mk/defs.NetBSD.mk | 7 | ||||
-rw-r--r-- | mk/defs.SunOS.mk | 7 |
4 files changed, 24 insertions, 4 deletions
diff --git a/mk/defs.Darwin.mk b/mk/defs.Darwin.mk index 32ddf3c01e6..51619093da9 100644 --- a/mk/defs.Darwin.mk +++ b/mk/defs.Darwin.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.Darwin.mk,v 1.17 2002/01/19 21:29:41 agc Exp $ +# $NetBSD: defs.Darwin.mk,v 1.18 2002/02/27 04:41:22 yyamano Exp $ # # Variable definitions for the Darwin operating system. @@ -76,3 +76,8 @@ _OPSYS_HAS_OSSAUDIO= no # libossaudio is available _PATCH_BACKUP_ARG= -b -z # switch to patch(1) for backup file _PREFORMATTED_MAN_DIR= cat # directory where catman pages are _USE_RPATH= no # don't add rpath to LDFLAGS + +.if !defined(DEBUG_FLAGS) +_STRIPFLAG_CC?= -Wl,-x # cc(1) option to strip +_STRIPFLAG_INSTALL?= -s # install(1) option to strip +.endif diff --git a/mk/defs.Linux.mk b/mk/defs.Linux.mk index 9d1975a1c70..c34c21794ff 100644 --- a/mk/defs.Linux.mk +++ b/mk/defs.Linux.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.Linux.mk,v 1.22 2002/01/19 21:29:41 agc Exp $ +# $NetBSD: defs.Linux.mk,v 1.23 2002/02/27 04:41:22 yyamano Exp $ # # Variable definitions for the Linux operating system. @@ -80,3 +80,8 @@ _OPSYS_HAS_OSSAUDIO= no # libossaudio is available _PATCH_BACKUP_ARG= -z # switch to patch(1) for backup file _PREFORMATTED_MAN_DIR= cat # directory where catman pages are _USE_RPATH= yes # add rpath to LDFLAGS + +.if !defined(DEBUG_FLAGS) +_STRIPFLAG_CC?= -s # cc(1) option to strip +_STRIPFLAG_INSTALL?= -s # install(1) option to strip +.endif diff --git a/mk/defs.NetBSD.mk b/mk/defs.NetBSD.mk index 9953095d7fe..42946ae6819 100644 --- a/mk/defs.NetBSD.mk +++ b/mk/defs.NetBSD.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.NetBSD.mk,v 1.21 2002/01/24 14:58:07 dmcmahill Exp $ +# $NetBSD: defs.NetBSD.mk,v 1.22 2002/02/27 04:41:23 yyamano Exp $ # # Variable definitions for the NetBSD operating system. @@ -83,6 +83,11 @@ _PATCH_BACKUP_ARG= -b # switch to patch(1) to provide a backup file _PREFORMATTED_MAN_DIR= cat # directory where catman pages are _USE_RPATH= yes # add rpath to LDFLAGS +.if !defined(DEBUG_FLAGS) +_STRIPFLAG_CC?= -s # cc(1) option to strip +_STRIPFLAG_INSTALL?= -s # install(1) option to strip +.endif + .if (${MACHINE_ARCH} == alpha) DEFAULT_SERIAL_DEVICE?= /dev/ttyC0 SERIAL_DEVICES?= /dev/ttyC0 \ diff --git a/mk/defs.SunOS.mk b/mk/defs.SunOS.mk index ed705c49ce0..4b3f5a18943 100644 --- a/mk/defs.SunOS.mk +++ b/mk/defs.SunOS.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.SunOS.mk,v 1.20 2002/01/19 21:29:41 agc Exp $ +# $NetBSD: defs.SunOS.mk,v 1.21 2002/02/27 04:41:23 yyamano Exp $ # # Variable definitions for the SunOS/Solaris operating system. @@ -86,6 +86,11 @@ _PATCH_BACKUP_ARG= -z # switch to patch(1) for backup file _PREFORMATTED_MAN_DIR= man # directory where catman pages are _USE_RPATH= yes # add rpath to LDFLAGS +.if !defined(DEBUG_FLAGS) +_STRIPFLAG_CC?= -s # cc(1) option to strip +_STRIPFLAG_INSTALL?= -s # install(1) option to strip +.endif + # Migration aid for old /usr/local LOCALBASE .if !defined(LOCALBASE) && exists(${DESTDIR}/usr/local/libexec/cgi-bin) && \ !exists(${DESTDIR}/usr/pkg/libexec/cgi-bin) |