summaryrefslogtreecommitdiff
path: root/mk/platform/OpenBSD.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/platform/OpenBSD.mk')
-rw-r--r--mk/platform/OpenBSD.mk8
1 files changed, 3 insertions, 5 deletions
diff --git a/mk/platform/OpenBSD.mk b/mk/platform/OpenBSD.mk
index ae11afd70a3..e21fa889ffe 100644
--- a/mk/platform/OpenBSD.mk
+++ b/mk/platform/OpenBSD.mk
@@ -1,4 +1,4 @@
-# $NetBSD: OpenBSD.mk,v 1.11 2005/01/28 21:05:59 jlam Exp $
+# $NetBSD: OpenBSD.mk,v 1.12 2005/03/18 18:16:35 tv Exp $
#
# Variable definitions for the OpenBSD operating system.
@@ -138,10 +138,8 @@ _USE_RPATH= yes # add rpath to LDFLAGS
_OPSYS_WHOLE_ARCHIVE_FLAG= -Wl,--whole-archive
_OPSYS_NO_WHOLE_ARCHIVE_FLAG= -Wl,--no-whole-archive
-.if (!defined(INSTALL_UNSTRIPPED) || empty(INSTALL_UNSTRIPPED:M[yY][eE][sS])) && !defined(DEBUG_FLAGS)
-_STRIPFLAG_CC?= -s # cc(1) option to strip
-_STRIPFLAG_INSTALL?= -s # install(1) option to strip
-.endif
+_STRIPFLAG_CC?= ${_INSTALL_UNSTRIPPED:D:U-s} # cc(1) option to strip
+_STRIPFLAG_INSTALL?= ${_INSTALL_UNSTRIPPED:D:U-s} # install(1) option to strip
.if (${MACHINE_ARCH} == alpha)
DEFAULT_SERIAL_DEVICE?= /dev/ttyC0