void-packages/srcpkgs/wm2/patches/use_our_ldflags.patch

12 lines
309 B
Diff

--- a/Makefile.bck 2016-06-20 11:50:20.743169924 -0400
+++ b/Makefile 2016-06-20 11:50:28.302087497 -0400
@@ -12,7 +12,7 @@
wm2: $(OBJECTS)
mv -f wm2 wm2.old >& /dev/null || true
- $(CCC) -o wm2 $(OBJECTS) $(LIBS)
+ $(CCC) -o wm2 $(OBJECTS) $(LDFLAGS) $(LIBS)
depend:
makedepend -- $(CFLAGS) -- *.C