From: Art Cancro Date: Sat, 29 Oct 2022 19:02:43 +0000 (-0400) Subject: Accept environment CFLAGS and LDFLAGS X-Git-Tag: v959~13 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=5151485fd932fa44aae807be8516e08c4dd681fb;p=citadel.git Accept environment CFLAGS and LDFLAGS --- diff --git a/webcit-ng/Makefile b/webcit-ng/Makefile index cda937007..7c2980cb2 100644 --- a/webcit-ng/Makefile +++ b/webcit-ng/Makefile @@ -1,9 +1,9 @@ -CFLAGS := -ggdb -Wno-format-truncation -LDFLAGS := +CFLAGS := $(CFLAGS) -ggdb -Wno-format-truncation +LDFLAGS := $(LDFLAGS) # link webcit: server/*.c - gcc server/*.c $(LDFLAGS) -lcitadel -lpthread -lcrypto -lssl -lexpat -o webcit + gcc $(CFLAGS) server/*.c $(LDFLAGS) -lcitadel -lpthread -lcrypto -lssl -lexpat -o webcit # remove compilation products clean: