kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 2c983e338c9a53167dbf3c63f9125e7b188ea599
parent 994f428a8df61513b9f87be86625b471483d76df
Author: Joris Vink <joris@coders.se>
Date:   Thu, 25 Apr 2019 20:09:11 +0200

undefine _FORTIFY_SOURCE before defining it.

Fixes building with compilers/distributions that set it by default.

From Bryan Baldwin via patches@

Diffstat:
Makefile | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -126,7 +126,7 @@ ifeq ("$(OSNAME)", "darwin") LDFLAGS+=-L/opt/local/lib -L/usr/local/opt/openssl/lib S_SRC+=src/bsd.c else ifeq ("$(OSNAME)", "linux") - CFLAGS+=-D_GNU_SOURCE=1 -D_FORTIFY_SOURCE=2 + CFLAGS+=-D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 LDFLAGS+=-ldl S_SRC+=src/linux.c else