mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
x11-misc/xcalendar: pass -std=gnu89
Does not build with `clang -std=c2x`, early workaround for when this will become a default. (not actively hunting for these, merely revisiting packages previously looked at for clang16 even if not an issue "yet"). Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -42,6 +42,7 @@ src_prepare() {
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
append-cflags -std=gnu89 # old codebase, incompatible with c2x
|
||||
|
||||
if use motif; then
|
||||
append-cppflags $($(tc-getPKG_CONFIG) --cflags x11 xmu xt || die)
|
||||
|
||||
Reference in New Issue
Block a user