From ae2084cb8609b49e55034314cd64b2316c301223 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 3 Mar 2012 13:17:10 +0100 Subject: [PATCH] gcc: Fix /lib/cpp link to /usr/bin/cpp on x86_64. Using the C preprocessor (e.g. by rpcgen) was not possible. This commit fixes those builds. --- gcc/gcc.nm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/gcc.nm b/gcc/gcc.nm index 37904a2d0..b32e0289a 100644 --- a/gcc/gcc.nm +++ b/gcc/gcc.nm @@ -8,7 +8,7 @@ build_cloog_ppl = 1 name = gcc version = 4.6.2 -release = 13 +release = 14 maintainer = Michael Tremer groups = Development/Compilers @@ -222,8 +222,8 @@ build FULLPATH="%{BUILDROOT}%{libdir}/gcc/%{DISTRO_BUILDTARGET}/%{version}" [ -d "${FULLPATH}" ] || exit 1 - mkdir -pv %{BUILDROOT}/%{lib} - ln -sfv ../usr/bin/cpp %{BUILDROOT}/%{lib}/cpp + mkdir -pv %{BUILDROOT}/lib + ln -sfv ../usr/bin/cpp %{BUILDROOT}/lib/cpp ln -sfv gcc %{BUILDROOT}/usr/bin/cc # Move libgcc_s to /lib -- 2.39.5