summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-10-28 21:55:36 +0200
committerdefault <nobody@localhost>2022-10-28 21:55:36 +0200
commit9de71755031fb27c891c2b841224d02572d9449e (patch)
tree642870278bee4dc3188c0d28a86a6091713d4d6b /Makefile
parent4aad0ad417065e3cd14352519330dbb391bd662b (diff)
Also use CFLAGS in the linking phase.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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 $<