rohrpost

A commandline mail client to change the world as we see it.
git clone git://r-36.net/rohrpost
Log | Files | Refs | LICENSE

commit b1e2e8b2062c840dde85c1b298484ab1a41601ed
parent 2554e236849bcf37d757a1c7aa78812488c0ca18
Author: Christoph Lohmann <20h@r-36.net>
Date:   Sun,  7 Jun 2020 15:19:17 +0200

Put CFLAGS of the host first, so the -O0 can be overwritten.

Diffstat:
Makefile | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile @@ -18,9 +18,8 @@ LIBS = -ltls # flags RP_CPPFLAGS = -DVERSION=\"${VERSION}\" -D_DEFAULT_SOURCE -D_XOPEN_SOURCE -D_GNU_SOURCE ${CPPFLAGS} -# 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} +# Beware, -O1 will cause problems in flag.c. +RP_CFLAGS = ${CFLAGS} -g -pedantic -Wall -O0 ${RP_CPPFLAGS} RP_LDFLAGS = -g ${LDFLAGS} #RP_LDFLAGS = -s