Commit fa6bf421 authored by Natanael Copa's avatar Natanael Copa
Browse files

main/gcc: fix gcc plugins

we should keep the plugin/include files in main gcc package
otherwise plugins and linux-grsec fails to build
parent b6db7d8d
......@@ -7,7 +7,7 @@ _specs_gcc_ver=4.4.3
_uclibc_abiver=0.9.32
pkgrel=3
pkgrel=4
pkgdesc="The GNU Compiler Collection"
url="http://gcc.gnu.org"
arch="all"
......@@ -290,16 +290,10 @@ objc() {
depends="libc-dev gcc=$_gccrel libobjc=$_gccrel"
local gcclibdir=usr/lib/gcc/${CHOST:-$_chost}/$pkgver
mkdir -p "$subpkgdir"/$gcclibdir/include \
"$subpkgdir"/$gcclibdir/plugin/include \
"$subpkgdir"/$gcclibdir/plugin/include/c-family \
"$subpkgdir"/usr/lib \
|| return 1
mv "$pkgdir"/$gcclibdir/include/objc "$subpkgdir"/$gcclibdir/include/ \
|| return 1
mv "$pkgdir"/$gcclibdir/plugin/include/objc \
"$subpkgdir"/$gcclibdir/plugin/include/ || return 1
mv "$pkgdir"/$gcclibdir/plugin/include/c-family/c-objc.h \
"$subpkgdir"/$gcclibdir/plugin/include/c-family || return 1
mv "$pkgdir"/usr/lib/libobjc.so "$pkgdir"/usr/lib/libobjc.a \
"$subpkgdir"/usr/lib/ || return 1
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment