diff options
author | 2009-01-28 04:10:14 +0000 | |
---|---|---|
committer | 2009-01-28 04:10:14 +0000 | |
commit | a1ecbd834077c67ac18555c3591de507c4c31406 (patch) | |
tree | d86ba6d24ac97e6597aa2d9f55f3a04d2f0c9462 /4.1.2 | |
parent | add backport from newer gcc versions for sparc alignment issues #195717 (diff) | |
download | gcc-patches-a1ecbd834077c67ac18555c3591de507c4c31406.tar.gz gcc-patches-a1ecbd834077c67ac18555c3591de507c4c31406.tar.bz2 gcc-patches-a1ecbd834077c67ac18555c3591de507c4c31406.zip |
backport behavior for libjava slotting #135840
Diffstat (limited to '4.1.2')
-rw-r--r-- | 4.1.2/gentoo/60_all_gcc41-libjava-PR27890.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/4.1.2/gentoo/60_all_gcc41-libjava-PR27890.patch b/4.1.2/gentoo/60_all_gcc41-libjava-PR27890.patch new file mode 100644 index 0000000..5601bbe --- /dev/null +++ b/4.1.2/gentoo/60_all_gcc41-libjava-PR27890.patch @@ -0,0 +1,20 @@ +http://bugs.gentoo.org/135840 + +reduced backport from newer versions + +--- gcc-4.1.2/libjava/classpath/configure ++++ gcc-4.1.2/libjava/classpath/configure +@@ -4252,7 +4252,12 @@ + + else + +- nativelibdir='${libdir}/${PACKAGE}' ++multi_os_directory=`$CC -print-multi-os-directory` ++case $multi_os_directory in ++ .) toolexeclibdir=${libdir} ;; # Avoid trailing /. ++ *) toolexeclibdir=${libdir}/${multi_os_directory} ;; ++esac ++nativelibdir="${toolexeclibdir}/gcj-"`cat ${srcdir}/../../gcc/BASE-VER` + + fi; + |