From 3b1e53e25cc3ab557d0f10926b277ecc56f4a891 Mon Sep 17 00:00:00 2001 From: Bipin Kumar Date: Sun, 23 Jul 2023 15:33:57 +0530 Subject: [PATCH] Makefile: add LDFLAGS variables add support for LDFLAGS variables for hardening hifiasm binary --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 875d4ba..bc342e7 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ endif all:$(EXE) $(EXE):$(OBJS) main.o - $(CXX) $(CXXFLAGS) $^ -o $@ $(LIBS) + $(CXX) $(CXXFLAGS) $(LDFLAGS) $^ -o $@ $(LIBS) clean: rm -fr gmon.out *.o a.out $(EXE) *~ *.a *.dSYM @@ -79,4 +79,4 @@ tovlp.o: tovlp.h inter.o: inter.h Process_Read.h kalloc.o: kalloc.h gfa_ut.o: Overlaps.h -gchain_map.o: gchain_map.h \ No newline at end of file +gchain_map.o: gchain_map.h