summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2016-07-05 11:05:16 -0400
committerIan Stakenvicius <axs@gentoo.org>2016-07-06 17:24:52 -0400
commitf0095d3e43cd2dc2828300d0c2e36504b6465880 (patch)
treeca9550cb8e58a528e33a52851a42e8218b310ae9 /eclass/mozcoreconf-v4.eclass
parentsci-physics/clhep: version bump to 2.3.3.1 (diff)
downloadgentoo-f0095d3e43cd2dc2828300d0c2e36504b6465880.tar.gz
gentoo-f0095d3e43cd2dc2828300d0c2e36504b6465880.tar.bz2
gentoo-f0095d3e43cd2dc2828300d0c2e36504b6465880.zip
eclass/moz*: refactor some configuration options from mozcoreconf-v4 to mozconfig
mozilla-48 and newer have dropped some configuration options that are no longer used in the build system, and due to the way the new python configure operates, any options specified that are not recognized are fatal. Moving these options out of mozcoreconf allows the older mozconfig's to retain the same configuration while also allowing newer mozconfig's to drop them as appropriate.
Diffstat (limited to 'eclass/mozcoreconf-v4.eclass')
-rw-r--r--eclass/mozcoreconf-v4.eclass14
1 files changed, 2 insertions, 12 deletions
diff --git a/eclass/mozcoreconf-v4.eclass b/eclass/mozcoreconf-v4.eclass
index fc5a07956c80..191f5fa76468 100644
--- a/eclass/mozcoreconf-v4.eclass
+++ b/eclass/mozcoreconf-v4.eclass
@@ -208,7 +208,7 @@ mozconfig_init() {
append-flags "$MAKEEDIT_FLAGS"
# Use the MOZILLA_FIVE_HOME for the rpath
- append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}"
+ append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}",--enable-new-dtags
# Set MOZILLA_FIVE_HOME in mozconfig
mozconfig_annotate '' --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME}
@@ -219,19 +219,9 @@ mozconfig_init() {
####################################
mozconfig_annotate disable_update_strip \
- --disable-pedantic \
--disable-updater \
--disable-strip \
- --disable-install-strip \
- --disable-installer \
- --disable-strip-libs
-
- if [[ ${PN} != seamonkey ]]; then
- mozconfig_annotate basic_profile \
- --disable-profilelocking \
- --enable-single-profile \
- --disable-profilesharing
- fi
+ --disable-install-strip
# Here is a strange one...
if is-flag '-mcpu=ultrasparc*' || is-flag '-mtune=ultrasparc*'; then