aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-03-22 12:10:22 -0400
committerMike Frysinger <vapier@gentoo.org>2012-03-22 12:10:22 -0400
commit02d4a906dee5123bca5f0bb7ec9a6908df1cc4d3 (patch)
treead0d3f2fd61ce9f8ad6e8d3ad344e37d7ada2470
parentgcc-config: check for write access to $ROOT rather than UID==0 (diff)
downloadgcc-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-xgcc-config2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc-config b/gcc-config
index 5df8e14..394a49c 100755
--- a/gcc-config
+++ b/gcc-config
@@ -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
}