mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-text/calibre: only add -std=gnu17 for GCC
The build system adds CFLAGS into CXXFLAGS which upsets Clang. Clang hasn't changed its default yet, so this is good enough as a temporary workaround (as it's fixed upstream anyway here). Closes: https://bugs.gentoo.org/956329 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -166,7 +166,7 @@ src_compile() {
|
||||
|
||||
# Workaround for GCC 15 (bug #949509)
|
||||
# Can be dropped w/ >=7.25.0
|
||||
append-cflags -std=gnu17
|
||||
tc-is-gcc && append-cflags -std=gnu17
|
||||
|
||||
# bug 821871
|
||||
local MY_LIBDIR="${ESYSROOT}/usr/$(get_libdir)"
|
||||
|
||||
Reference in New Issue
Block a user