void-packages/srcpkgs/discount/patches/cross-makefile_in.patch

14 lines
270 B
Diff

--- a/Makefile.in
+++ b/Makefile.in
@@ -95,8 +95,8 @@
blocktags: mktags
./mktags > blocktags
-mktags: mktags.o
- $(LINK) -o mktags mktags.o
+mktags: mktags.c
+ $(BUILD_CC) -o mktags mktags.c
# example programs
@THEME@theme: theme.o $(COMMON) $(MKDLIB) mkdio.h