From b812365d1ade1c86284851fe97416c74552a293d Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Thu, 22 Sep 2022 21:33:41 +0100 Subject: [PATCH] Respect LDFLAGS variable when building --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f2b9a41..08ad6b8 100644 --- a/Makefile +++ b/Makefile @@ -80,11 +80,11 @@ CFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\" all: $(TARGETS) ot-recorder: recorder.o $(OTR_OBJS) $(OTR_EXTRA_OBJS) - $(CC) $(CFLAGS) -o ot-recorder recorder.o $(OTR_OBJS) $(OTR_EXTRA_OBJS) $(LIBS) + $(CC) $(CFLAGS) $(LDFLAGS) -o ot-recorder recorder.o $(OTR_OBJS) $(OTR_EXTRA_OBJS) $(LIBS) if test -r codesign.sh; then /bin/sh codesign.sh; fi ocat: ocat.o $(OTR_OBJS) - $(CC) $(CFLAGS) -o ocat ocat.o $(OTR_OBJS) $(LIBS) + $(CC) $(CFLAGS) $(LDFLAGS) -o ocat ocat.o $(OTR_OBJS) $(LIBS) $(OTR_OBJS): config.mk Makefile