]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
gcc: Fix /lib/cpp link to /usr/bin/cpp on x86_64.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 3 Mar 2012 12:17:10 +0000 (13:17 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 3 Mar 2012 12:17:10 +0000 (13:17 +0100)
Using the C preprocessor (e.g. by rpcgen) was not possible.
This commit fixes those builds.

gcc/gcc.nm

index 37904a2d0b507c8a8bc67addb655ae895d4cf48e..b32e0289a0bb32931ad3c99256076c1f0f3104d4 100644 (file)
@@ -8,7 +8,7 @@ build_cloog_ppl = 1
 
 name       = gcc
 version    = 4.6.2
-release    = 13
+release    = 14
 
 maintainer = Michael Tremer <michael.tremer@ipfire.org>
 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