From b7e7843214ba36ca06289d1925c05e6586acac41 Mon Sep 17 00:00:00 2001 From: Nakidai Date: Thu, 5 Feb 2026 20:32:25 +0300 Subject: Fix linking CFLAGS is a *c*ompiler flags and thus are unneeded for linking, perhaps even harmful. LDLIBS are needed for linking as program can require some external libraries and those should be listed exactly here --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b9d6948..ebf8cff 100644 --- a/Makefile +++ b/Makefile @@ -16,6 +16,6 @@ OBJS += writef.o all: ${NAME} ${OBJS}: ircd.h config.h ${NAME}: ${OBJS} - ${CC} -o ${NAME} ${CFLAGS} ${LDFLAGS} ${OBJS} + ${CC} -o ${NAME} ${LDFLAGS} ${OBJS} ${LDLIBS} clean: rm -f ${NAME} ${OBJS} -- cgit 1.4.1