From 5371a9acf3548c955c0d19eed402827a6f1ac44a Mon Sep 17 00:00:00 2001 From: Fredrik Rinnestam Date: Fri, 9 Aug 2013 09:53:16 +0200 Subject: [PATCH] gcc: added plugins support --- gcc/.footprint | 2 ++ gcc/Pkgfile | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/.footprint b/gcc/.footprint index 54bed1b..55e7eb4 100644 --- a/gcc/.footprint +++ b/gcc/.footprint @@ -805,6 +805,7 @@ drwxr-xr-x root/root usr/lib/gcc/arm-unknown-linux-gnueabihf/4.7.2/plugin/includ drwxr-xr-x root/root usr/lib/gcc/arm-unknown-linux-gnueabihf/4.7.2/plugin/include/config/ drwxr-xr-x root/root usr/lib/gcc/arm-unknown-linux-gnueabihf/4.7.2/plugin/include/config/arm/ -rw-r--r-- root/root usr/lib/gcc/arm-unknown-linux-gnueabihf/4.7.2/plugin/include/config/arm/aout.h +-rw-r--r-- root/root usr/lib/gcc/arm-unknown-linux-gnueabihf/4.7.2/plugin/include/config/arm/arm-cores.def -rw-r--r-- root/root usr/lib/gcc/arm-unknown-linux-gnueabihf/4.7.2/plugin/include/config/arm/arm-opts.h -rw-r--r-- root/root usr/lib/gcc/arm-unknown-linux-gnueabihf/4.7.2/plugin/include/config/arm/arm-protos.h -rw-r--r-- root/root usr/lib/gcc/arm-unknown-linux-gnueabihf/4.7.2/plugin/include/config/arm/arm.h @@ -820,6 +821,7 @@ drwxr-xr-x root/root usr/lib/gcc/arm-unknown-linux-gnueabihf/4.7.2/plugin/includ -rw-r--r-- root/root usr/lib/gcc/arm-unknown-linux-gnueabihf/4.7.2/plugin/include/config/initfini-array.h -rw-r--r-- root/root usr/lib/gcc/arm-unknown-linux-gnueabihf/4.7.2/plugin/include/config/linux-android.h -rw-r--r-- root/root usr/lib/gcc/arm-unknown-linux-gnueabihf/4.7.2/plugin/include/config/linux.h +-rw-r--r-- root/root usr/lib/gcc/arm-unknown-linux-gnueabihf/4.7.2/plugin/include/config/vxworks-dummy.h -rw-r--r-- root/root usr/lib/gcc/arm-unknown-linux-gnueabihf/4.7.2/plugin/include/configargs.h -rw-r--r-- root/root usr/lib/gcc/arm-unknown-linux-gnueabihf/4.7.2/plugin/include/coretypes.h drwxr-xr-x root/root usr/lib/gcc/arm-unknown-linux-gnueabihf/4.7.2/plugin/include/cp/ diff --git a/gcc/Pkgfile b/gcc/Pkgfile index 69012e2..6b6f46d 100644 --- a/gcc/Pkgfile +++ b/gcc/Pkgfile @@ -6,7 +6,7 @@ name=gcc version=4.7.2 -release=1 +release=2 source=(ftp://gcc.gnu.org/pub/gcc/releases/$name-$version/$name-$version.tar.bz2 $name-nocheck-fixincludes.patch $name-$version-gnueabihf.patch) @@ -42,6 +42,8 @@ build() { ln -sf g++ $PKG/usr/bin/c++ mv $PKG/usr/lib/gcc/*/4.7.2/include-fixed/{limits.h,syslimits.h} $PKG/usr/lib/gcc/*/4.7.2/include/ + cp ../$name-$version/gcc/config/arm/arm-cores.def $PKG/usr/lib/gcc/arm-unknown-linux-gnueabihf/$version/plugin/include/config/arm/ + cp ../$name-$version/gcc/config/vxworks-dummy.h $PKG/usr/lib/gcc/arm-unknown-linux-gnueabihf/$version/plugin/include/config/ rm -f $PKG/usr/lib/{libiberty.a,libstdc++.so.6.0.17-gdb.py} rm -r $PKG/usr/share -- 2.26.2