diff options
author | tv <tv@pkgsrc.org> | 2004-10-13 15:31:31 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2004-10-13 15:31:31 +0000 |
commit | 53860a0446209ec6d173f39f8b5d2693debe89d2 (patch) | |
tree | 8cfe4349a7604256b9ca1b12a783c90c48e01489 /mk/platform/FreeBSD.mk | |
parent | c590c8aad9a8773129f2553bd1d9a959a06e7eeb (diff) | |
download | pkgsrc-53860a0446209ec6d173f39f8b5d2693debe89d2.tar.gz |
Make strip/no-strip choice more consistent:
Move check for INSTALL_UNSTRIPPED to the platform/*.mk files, alongside
existing check for DEBUG_FLAGS.
Diffstat (limited to 'mk/platform/FreeBSD.mk')
-rw-r--r-- | mk/platform/FreeBSD.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/platform/FreeBSD.mk b/mk/platform/FreeBSD.mk index f529a3861a4..68b6845387f 100644 --- a/mk/platform/FreeBSD.mk +++ b/mk/platform/FreeBSD.mk @@ -1,4 +1,4 @@ -# $NetBSD: FreeBSD.mk,v 1.1 2004/10/06 20:51:47 jlam Exp $ +# $NetBSD: FreeBSD.mk,v 1.2 2004/10/13 15:31:31 tv Exp $ # # Variable definitions for the FreeBSD operating system. @@ -153,7 +153,7 @@ _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(DEBUG_FLAGS) +.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 |