Frederik Schwan pushed to branch main at Arch Linux / Packaging / Packages / 
java21-openjdk


Commits:
27cda2c8 by Frederik Schwan at 2026-02-16T10:38:22+01:00
remove compile flags for unsupported architectures

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -68,7 +68,6 @@ 
sha256sums=('6500906cb7cc49268ce4ca368db3ddf3541b40afd25eecb378e13d5a72f43214'
 
 case "${CARCH}" in
   x86_64) _JARCH='x86_64';;
-  i686)   _JARCH='x86';;
   riscv64)_JARCH='riscv64';;
   aarch64)_JARCH='aarch64';;
 esac
@@ -119,8 +118,8 @@ build() {
   # /usr/bin/ld: 
/build/java-openjdk/src/jdk17u-jdk-17.0.3-2/build/linux-x86_64-server-release/hotspot/variant-server/libjvm/objs/zPhysicalMemory.o:
 in function `ZList<ZMemory>::~ZList()':
   # 
/build/java-openjdk/src/jdk17u-jdk-17.0.3-2/src/hotspot/share/gc/z/zList.hpp:54:
 undefined reference to `ZListNode<ZMemory>::~ZListNode()'
   # collect2: error: ld returned 1 exit status
-  _CFLAGS=${CFLAGS/-fexceptions/}
-  _CXXFLAGS=${CXXFLAGS/-fexceptions/}
+  _CFLAGS=${_CFLAGS/-fexceptions/}
+  _CXXFLAGS=${_CXXFLAGS/-fexceptions/}
 
   # CFLAGS, CXXFLAGS and LDFLAGS are ignored as shown by a warning
   # in the output of ./configure unless used like such:



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/java21-openjdk/-/commit/27cda2c8c036dab44fd84259b6ca608eb452215b

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/java21-openjdk/-/commit/27cda2c8c036dab44fd84259b6ca608eb452215b
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to