]> git.ipfire.org Git - thirdparty/openwrt.git/commit
toolchain: gcc: fix build error with glibc for aarch64 targets 18647/head
authorKonstantin Demin <rockdrilla@gmail.com>
Mon, 12 May 2025 06:25:58 +0000 (09:25 +0300)
committerRobert Marko <robimarko@gmail.com>
Mon, 12 May 2025 09:13:20 +0000 (11:13 +0200)
commit44ef34350095c86227ea0cf84b816258c5195e29
treeff291a1c31af6e23506ea0491f3d82fee08f0ff0
parent2a9316fbfb6e123e0d2672a9726dc752c7f6dbdd
toolchain: gcc: fix build error with glibc for aarch64 targets

GCC 14+ fails to build due to libatomic specific -march handling.
This build error triggers only with glibc and not with musl libc
which is default.

Related: https://github.com/openwrt/openwrt/issues/16073

Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18647
Signed-off-by: Robert Marko <robimarko@gmail.com>
toolchain/gcc/patches-14.x/830-aarch64-libatomic.patch [new file with mode: 0644]