From 02d4a906dee5123bca5f0bb7ec9a6908df1cc4d3 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 22 Mar 2012 12:10:22 -0400 Subject: 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 --- gcc-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- cgit v1.2.3-65-gdbad