From 2e534f6dcdbca6700bc18354925986b054330725 Mon Sep 17 00:00:00 2001 From: davidovski Date: Thu, 13 Jan 2022 19:49:37 +0000 Subject: fixed issues with headers cleaned other packages to fit better with lfs --- repo/core/gcc.xibuild | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'repo/core/gcc.xibuild') 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/ -- cgit v1.2.1