From 9de71755031fb27c891c2b841224d02572d9449e Mon Sep 17 00:00:00 2001 From: default Date: Fri, 28 Oct 2022 21:55:36 +0200 Subject: [PATCH] Also use CFLAGS in the linking phase. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f7e30e5..bd8dcd7 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ CFLAGS=-g -Wall all: snac snac: snac.o main.o data.o http.o httpd.o webfinger.o activitypub.o html.o utils.o format.o - $(CC) -L/usr/local/lib *.o -lcurl -lcrypto -pthread -o $@ + $(CC) $(CFLAGS) -L/usr/local/lib *.o -lcurl -lcrypto -pthread -o $@ .c.o: $(CC) $(CFLAGS) -I/usr/local/include -c $<