summaryrefslogtreecommitdiff
path: root/repo/core/gcc.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-13 19:49:37 +0000
committerdavidovski <david@davidovski.xyz>2022-01-13 19:49:37 +0000
commit2e534f6dcdbca6700bc18354925986b054330725 (patch)
tree39e6233e6e0c9fb737ce5c1987039c3a10df193c /repo/core/gcc.xibuild
parent31741d5c284261ef59b0ce8839b47ff44a2f6bf7 (diff)
fixed issues with headers
cleaned other packages to fit better with lfs
Diffstat (limited to 'repo/core/gcc.xibuild')
-rw-r--r--repo/core/gcc.xibuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/repo/core/gcc.xibuild b/repo/core/gcc.xibuild
index fc00767..37132d1 100644
--- a/repo/core/gcc.xibuild
+++ b/repo/core/gcc.xibuild
@@ -38,22 +38,19 @@ build () {
chown -Rv tester .
su tester -c "PATH=$PATH make $MAKEFLAGS -k check"
- ../contrib/test_summary
+ ../contrib/test_summary | grep -A7 Summ
-
- make DESTDIR=$PKG_DEST install
-
-
- # no build libstdc++
}
package () {
+ make DESTDIR=$PKG_DEST install
+
rm -rf $PKG_DEST/usr/lib/gcc/$(gcc -dumpmachine)/11.2.0/include-fixed/bits/
chown -v -R root:root \
$PKG_DEST/usr/lib/gcc/*linux-gnu/11.2.0/include{,-fixed}
- ln -sv /usr/bin/cpp $PKG_DEST/usr/lib/cpp
+ ln -sv cpp $PKG_DEST/usr/lib/cpp
ln -sfv ../../libexec/gcc/$(gcc -dumpmachine)/11.2.0/liblto_plugin.so \
$PKG_DEST/usr/lib/bfd-plugins/