commit 2554e236849bcf37d757a1c7aa78812488c0ca18 parent 85bcf9a2bef35a7dc375c73a718f2a7b198b0553 Author: Christoph Lohmann <20h@r-36.net> Date: Sun, 7 Jun 2020 15:01:53 +0200 Ignore system CFLAGS because -O1 hates us. Diffstat:
Makefile | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile @@ -18,7 +18,9 @@ LIBS = -ltls # flags RP_CPPFLAGS = -DVERSION=\"${VERSION}\" -D_DEFAULT_SOURCE -D_XOPEN_SOURCE -D_GNU_SOURCE ${CPPFLAGS} -RP_CFLAGS = -g -pedantic -Wall -O0 ${RP_CPPFLAGS} ${CFLAGS} +# Do not compile with -O1, modern gcc is broken, so ignore system CFLAGS. +#RP_CFLAGS = -g -pedantic -Wall -O0 ${RP_CPPFLAGS} {CFLAGS} +RP_CFLAGS = -g -pedantic -Wall -O0 ${RP_CPPFLAGS} RP_LDFLAGS = -g ${LDFLAGS} #RP_LDFLAGS = -s