commit: 03b1fb456466b0b3440996123486d5b8cd22b4a2
Author: Yuta SATOH <nigoro.dev <AT> gmail <DOT> com>
AuthorDate: Tue Oct 11 13:45:57 2016 +0000
Commit: Yuta SATOH <nigoro <AT> gentoo <DOT> gr <DOT> jp>
CommitDate: Tue Oct 11 13:45:57 2016 +0000
URL: https://gitweb.gentoo.org/proj/gentoo-bsd.git/commit/?id=03b1fb45
freebsd.eclass: Always disable DEBUG_FILES=
eclass/freebsd.eclass | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/eclass/freebsd.eclass b/eclass/freebsd.eclass
index 5d4562a..8f6b204 100644
--- a/eclass/freebsd.eclass
+++ b/eclass/freebsd.eclass
@@ -80,7 +80,7 @@ if [[ ${MY_PV} != *9999* ]] && version_is_at_least 10.0 ${RV}
; then
SRC_URI="mirror://freebsd/releases/i386/${DL_PV}/src.txz ->
freebsd-src-${MY_PV}.tar.xz"
fi
-IUSE="debug profile"
+IUSE="profile"
#unalias -a
alias install-info='/usr/bin/bsdinstall-info'
@@ -230,7 +230,8 @@ freebsd_src_compile() {
if ! use profile ; then
mymakeopts="${mymakeopts} WITHOUT_PROFILE= "
fi
- use debug || mymakeopts="${mymakeopts} WITHOUT_DEBUG_FILES= "
+ # Disable debugging info, use FEATURES=splitdebug instead.
+ mymakeopts="${mymakeopts} WITHOUT_DEBUG_FILES= "
# Test does not support yet.
mymakeopts="${mymakeopts} WITHOUT_TESTS= "
# Force set SRCTOP.
@@ -305,7 +306,8 @@ freebsd_src_install() {
if ! use profile ; then
mymakeopts="${mymakeopts} WITHOUT_PROFILE= "
fi
- use debug || mymakeopts="${mymakeopts} WITHOUT_DEBUG_FILES= "
+ # Disable debugging info, use FEATURES=splitdebug instead.
+ mymakeopts="${mymakeopts} WITHOUT_DEBUG_FILES= "
# Test does not support yet.
mymakeopts="${mymakeopts} WITHOUT_TESTS= "
# Force set SRCTOP.