[barrage] Fail to build in RISC-V
Good-looking and addictive OpenSource games
Brought to you by:
kulkanie
Barrage fail to build main.o and main.c file. It reports that cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security]. My current work around is to use sed to delete -Wno-format in CFLAGS variable in the src/Makefile.
This is because main.o is built with an additional -Wno-format, which disables -Wformat, but that still leave the -Werror=format-security around.
It will be convenient to build if you can delete the build flag for the main.o file. Thanks for your work.
hm, not sure why I use all this warning restrictions anyway... I removed all flags except -Wall and properly fixed the warning it suppressed. thanks for pointing out.