summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2018-01-14 10:31:24 -0500
committerMichael Orlitzky <mjo@gentoo.org>2018-10-07 17:52:53 -0400
commit0f7838027ac84f2a57d98823e8b259677fe6ef36 (patch)
treeba9d7f6eea11c88a5e8c29b6a4306306b04f42ac /profiles/default
parentdev-libs/girara: Drop old (diff)
downloadgentoo-0f7838027ac84f2a57d98823e8b259677fe6ef36.tar.gz
gentoo-0f7838027ac84f2a57d98823e8b259677fe6ef36.tar.bz2
gentoo-0f7838027ac84f2a57d98823e8b259677fe6ef36.zip
profiles: unset USE=modules by default.
The "modules" USE flag was originally enabled by default in the base profile so that any ebuild inheriting linux-mod.eclass would have its kernel modules built by default. However, the name of that USE flag is now controlled by the MODULES_OPTIONAL_USE variable, set in the ebuild itself. The best place for the USE flag default is therefore in IUSE (in the ebuild), because only the ebuild knows the correct flag name. There are at least two packages, media-gfx/graphicsmagick and net-im/mcabber, that assign a different meaning to the "modules" flag, further suggesting that a global default is too blunt an approach. This commit drops the flag from base/make.defaults, and also from default/linux/make.defaults where a redundant entry was present. Thereafter, the override in features/hardened/make.defaults is unnecessary, so it has been dropped as well. Closes: https://bugs.gentoo.org/635720 Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'profiles/default')
-rw-r--r--profiles/default/linux/make.defaults5
1 files changed, 0 insertions, 5 deletions
diff --git a/profiles/default/linux/make.defaults b/profiles/default/linux/make.defaults
index 4d580b1ba06f..0716de8a14c9 100644
--- a/profiles/default/linux/make.defaults
+++ b/profiles/default/linux/make.defaults
@@ -53,8 +53,3 @@ VIDEO_CARDS="dummy fbdev v4l"
# Note that adding LDFLAGS="-Wl,-O1 ${LDFLAGS}" breaks dev-util/boost-build
# because of whitespace.
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
-
-# 2009/09/21 Robin H. Johnson <robbat2@gentoo.org>
-# https://archives.gentoo.org/gentoo-dev/msg_dc705dc2c1a45e18a85aa62e8fb17009.xml
-# Build kernel modules from linux-mod by default:
-USE="${USE} modules"