p/p/linux-standalone/profile.bashrc: add BOOTSTRAP_RAP_STAGE2.
authorBenda Xu <heroxbd@gentoo.org>
Tue, 24 May 2016 15:10:35 +0000 (00:10 +0900)
committerBenda Xu <heroxbd@gentoo.org>
Wed, 25 May 2016 02:28:37 +0000 (11:28 +0900)
profiles/prefix/linux-standalone/profile.bashrc

index 166ab70191495e2b0753f961a2d3d1d02fd31015..369b595143af8e556dd1ef9ba9c181af19c98944 100644 (file)
@@ -1,6 +1,9 @@
 # RAP specific patches that is pending upstream.
 # binutils: http://article.gmane.org/gmane.comp.gnu.binutils/67593
 
+# Disable RAP trick using bootstrap stage2
+[[ -z ${BOOTSTRAP_RAP_STAGE2} ]] || return 0
+
 if [[ ${CATEGORY}/${PN} == sys-devel/gcc && ${EBUILD_PHASE} == configure ]]; then
     cd "${S}"
     einfo "Prefixifying glibc dynamic linker..."