Hello, I'm packaging yaha for openSUSE and co compile it with GCC 10 and 11 I must edit the Makefile like:
--- Makefile.orig 2021-06-08 16:05:54.872996001 +0200
+++ Makefile 2021-06-08 16:11:30.950047713 +0200
@@ -25,7 +25,7 @@
CC := gcc
CPP := g++
CFLAGS := $(CCFLAGS) -std=gnu99
-CPPFLAGS := $(CCFLAGS)
+CPPFLAGS := $(CCFLAGS) -fpermissive
LDFLAGS := -pthread
# The list of object files.
It works, but of course, upstream fix would be better. :-)
Hello, I'm packaging yaha for openSUSE and co compile it with GCC 10 and 11 I must edit the
Makefilelike:It works, but of course, upstream fix would be better. :-)