commit 9de71755031fb27c891c2b841224d02572d9449e
parent 4aad0ad417065e3cd14352519330dbb391bd662b
Author: default <nobody@localhost>
Date: Fri, 28 Oct 2022 21:55:36 +0200
Also use CFLAGS in the linking phase.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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 $<