Gentoo Archives: gentoo-dev

From: "PaweĊ‚ Hajdan
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] redundant code in toolchain.eclass?
Date: Wed, 26 Oct 2011 15:54:38
Message-Id: 4EA81746.4090701@gentoo.org
1 I was browsing toolchain.eclass and noticed this:
2
3 if [[ ${PN} != "kgcc64" && ${PN} != gcc-* ]] ; then
4 ...
5 [[ -n ${SPECS_VER} ]] && IUSE+=" nossp"
6 ...
7
8 if tc_version_is_at_least 3 ; then
9 ...
10 if tc_version_is_at_least "4.4" ; then
11 IUSE+=" graphite"
12 [[ -n ${SPECS_VER} ]] && IUSE+=" nossp"
13 fi
14 ...
15 fi
16 fi
17
18 The second IUSE+=" nossp" seems redundant and could be removed, right?

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] redundant code in toolchain.eclass? Ian Stakenvicius <axs@g.o>
Re: [gentoo-dev] redundant code in toolchain.eclass? Mike Frysinger <vapier@g.o>