diff options
author | 2007-03-12 07:00:10 +0000 | |
---|---|---|
committer | 2007-03-12 07:00:10 +0000 | |
commit | 15ca02f138cdf3630fc2ffce3da91fe02cb82413 (patch) | |
tree | 871acd6cf09fe06c1f9f1bd3b3947ef91b25337a | |
parent | some more tweaks/fixups from Kevin F. Quinn #125805 (diff) | |
download | gcc-config-15ca02f138cdf3630fc2ffce3da91fe02cb82413.tar.gz gcc-config-15ca02f138cdf3630fc2ffce3da91fe02cb82413.tar.bz2 gcc-config-15ca02f138cdf3630fc2ffce3da91fe02cb82413.zip |
Add wrappers for gcjh, gfortran, and the D language #157694 by Philipp Kirchner.
-rwxr-xr-x | gcc-config | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,7 +1,7 @@ #!/bin/bash # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: gentoo-x86/sys-devel/gcc-config/files/gcc-config-1.3.15,v 1.2 2006/12/16 19:36:27 vapier Exp $ +# $Header: gentoo-x86/sys-devel/gcc-config/files/gcc-config-1.3.15,v 1.3 2007/03/12 07:00:10 vapier Exp $ trap ":" INT QUIT TSTP @@ -295,9 +295,10 @@ switch_profile() { done # Update the wrappers for this profile - local native="gcc cpp cc c++ g++ f77 g77 gcj" - is_cross_compiler && native="" - for x in ${native} ${CTARGET}-{cpp,gcc,c++,g++,f77,g77,gcj} ; do + for x in {,${CTARGET}}-{cpp,cc,gcc,c++,g++,f77,g77,gcj,gcjh,gfortran,gdc,gdmd} ; do + # Obviously don't want to touch native stuff for cross-compilers + [[ ${x} != ${CTARGET}-* ]] && is_cross_compiler && continue + # Make sure we have no stale wrappers ${RM} -f "${ROOT}/usr/bin/${x}" [[ ${x:${#x}-3} == "gcc" || ${x:${#x}-3} == "g++" ]] \ |