Anatol Pomozov pushed to branch main at Arch Linux / Packaging / Packages / 
aarch64-linux-gnu-gcc


Commits:
b7ce67e2 by Mateusz MikuĊ‚a at 2025-03-21T17:32:24+00:00
Symlink sysroot lib64 to lib

Closes issue #2

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = aarch64-linux-gnu-gcc
        pkgdesc = The GNU Compiler Collection - cross compiler for ARM64 target
        pkgver = 14.2.0
-       pkgrel = 1
+       pkgrel = 2
        url = https://gcc.gnu.org/
        arch = x86_64
        license = GPL


=====================================
PKGBUILD
=====================================
@@ -4,7 +4,7 @@
 _target=aarch64-linux-gnu
 pkgname=$_target-gcc
 pkgver=14.2.0
-pkgrel=1
+pkgrel=2
 #_snapshot=8-20190111
 pkgdesc='The GNU Compiler Collection - cross compiler for ARM64 target'
 arch=(x86_64)
@@ -80,6 +80,10 @@ build() {
 package() {
   cd gcc-build
 
+  # handle lib vs lib64; for regular gcc this is handled by filesystem package
+  mkdir -p "$pkgdir"/usr/$_target/lib
+  ln -s ./lib "$pkgdir"/usr/$_target/lib64
+
   make DESTDIR="$pkgdir" install-gcc 
install-target-{libgcc,libstdc++-v3,libgomp,libgfortran,libquadmath,libatomic}
 
   # strip target binaries



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/aarch64-linux-gnu-gcc/-/commit/b7ce67e20f570840fcce78a6e2a8c3db9467c812

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/aarch64-linux-gnu-gcc/-/commit/b7ce67e20f570840fcce78a6e2a8c3db9467c812
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to