void-packages/srcpkgs/ndhc/patches/ldflags.patch

12 lines
212 B
Diff
Raw Normal View History

--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ CPPFLAGS += $(INCL)
all: ragel ndhc
ndhc: $(NDHC_OBJS)
- $(CC) $(CFLAGS) $(INCL) -o $@ $^
+ $(CC) $(CFLAGS) $(INCL) -o $@ $^ $(LDFLAGS)
-include $(NDHC_DEP)