force internal jar usage by Serkan Kaba #384291
authorMike Frysinger <vapier@gentoo.org>
Mon, 26 Sep 2011 20:39:53 +0000 (20:39 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 26 Sep 2011 20:39:53 +0000 (20:39 +0000)
eclass/toolchain.eclass

index 62aebd165642ad27837a2df01e77fe76dcd92a08..7031e324fc04dbecf01ff1a90b502e62858fd1ee 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.470 2011/09/26 17:32:44 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.471 2011/09/26 20:39:53 vapier Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 
@@ -1569,6 +1569,10 @@ toolchain_src_compile() {
        einfo "CFLAGS=\"${CFLAGS}\""
        einfo "CXXFLAGS=\"${CXXFLAGS}\""
 
+       # Force internal zip based jar script to avoid random
+       # issues with 3rd party jar implementations.  #384291
+       export JAR=no
+
        # For hardened gcc 4.3 piepatchset to build the hardened specs
        # file (build.specs) to use when building gcc.
        if ! tc_version_is_at_least 4.4 && want_minispecs ; then