diff options
author | tv <tv> | 2004-10-13 15:31:31 +0000 |
---|---|---|
committer | tv <tv> | 2004-10-13 15:31:31 +0000 |
commit | 0f6ee1901b739f8d670656d4de0d59347430b567 (patch) | |
tree | 8cfe4349a7604256b9ca1b12a783c90c48e01489 /mk/platform/FreeBSD.mk | |
parent | 5b80b7ef1aa8fec01b2e9571cba2549eda42b601 (diff) | |
download | pkgsrc-0f6ee1901b739f8d670656d4de0d59347430b567.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 |