diff options
author | yyamano <yyamano@pkgsrc.org> | 2002-02-27 04:41:22 +0000 |
---|---|---|
committer | yyamano <yyamano@pkgsrc.org> | 2002-02-27 04:41:22 +0000 |
commit | 9163c672462e6007d7523a1fef5650f181670820 (patch) | |
tree | 0a65cdfd3842f679fe704164ae973debc334147f /mk/defs.Darwin.mk | |
parent | 9a657a88b5c656fc86646792642631eba16054a6 (diff) | |
download | pkgsrc-9163c672462e6007d7523a1fef5650f181670820.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/defs.Darwin.mk')
-rw-r--r-- | mk/defs.Darwin.mk | 7 |
1 files changed, 6 insertions, 1 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 |