diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-03-22 12:10:22 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-03-22 12:10:22 -0400 |
commit | 02d4a906dee5123bca5f0bb7ec9a6908df1cc4d3 (patch) | |
tree | ad0d3f2fd61ce9f8ad6e8d3ad344e37d7ada2470 | |
parent | gcc-config: check for write access to $ROOT rather than UID==0 (diff) | |
download | gcc-config-02d4a906dee5123bca5f0bb7ec9a6908df1cc4d3.tar.gz gcc-config-02d4a906dee5123bca5f0bb7ec9a6908df1cc4d3.tar.bz2 gcc-config-02d4a906dee5123bca5f0bb7ec9a6908df1cc4d3.zip |
gcc-config: use raw cpp name for /lib/cpp times
Older gcc versions did not install ${CTARGET}-cpp, and since we know this
is a native setup, we can go ahead and assume that /usr/bin/cpp is OK to
use since it should be the same.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rwxr-xr-x | gcc-config | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -214,7 +214,7 @@ update_wrappers() { [[ ${CTARGET} == *-solaris* ]] && return 0 if ! is_cross_compiler ; then cp -f "${wrapper}" "${ROOT}/lib/cpp" - touch -r "${ROOT}/usr/bin/${CTARGET}-cpp" "${ROOT}/lib/cpp" + touch -r "${ROOT}/usr/bin/cpp" "${ROOT}/lib/cpp" fi } |