tIgnore system CFLAGS because -O1 hates us. - rohrpost - A commandline mail client to change the world as we see it. (HTM) git clone git://r-36.net/rohrpost (DIR) Log (DIR) Files (DIR) Refs (DIR) LICENSE --- (DIR) commit 2554e236849bcf37d757a1c7aa78812488c0ca18 (DIR) parent 85bcf9a2bef35a7dc375c73a718f2a7b198b0553 (HTM) 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(-) --- (DIR) diff --git a/Makefile b/Makefile t@@ -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