fix: gcc will work in initial install
This commit is contained in:
@@ -52,11 +52,11 @@ src_install() {
|
||||
pushd build > /dev/null
|
||||
make DESTDIR="$pkgdir" install
|
||||
chown -R root:root \
|
||||
"$pkgdir"/usr/lib/gcc/$(gcc -dumpmachine)/14.2.0/include{,-fixed}
|
||||
"$pkgdir"/usr/lib/gcc/$(${pkgdir}/usr/bin/gcc -dumpmachine)/14.2.0/include{,-fixed}
|
||||
ln -sv ../bin/cpp "$pkgdir"/usr/lib
|
||||
ln -sv gcc.1 "$pkgdir"/usr/share/man/man1/cc.1
|
||||
install -d -v -m755 "$pkgdir/usr/lib/bfd-plugins"
|
||||
ln -sfv ../../libexec/gcc/$(gcc -dumpmachine)/14.2.0/liblto_plugin.so \
|
||||
ln -sfv ../../libexec/gcc/$(${pkgdir}/usr/bin/gcc -dumpmachine)/14.2.0/liblto_plugin.so \
|
||||
"$pkgdir"/usr/lib/bfd-plugins/
|
||||
mkdir -pv "$pkgdir"/usr/share/gdb/auto-load/usr/lib
|
||||
mv -v "$pkgdir"/usr/lib/*gdb.py "$pkgdir"/usr/share/gdb/auto-load/usr/lib
|
||||
|
||||
Reference in New Issue
Block a user