void-packages/srcpkgs/vmtouch/patches/fix-ldflags.patch

12 lines
413 B
Diff

--- Makefile.orig 2016-05-24 14:45:53.763863505 +0200
+++ Makefile 2016-05-24 14:46:02.136862879 +0200
@@ -10,7 +10,7 @@ all: vmtouch vmtouch.8
.PHONY: all install clean uninstall
vmtouch: vmtouch.c
- ${CC} ${CFLAGS} -o vmtouch vmtouch.c
+ ${CC} ${CFLAGS} ${LDFLAGS} -o vmtouch vmtouch.c
vmtouch.8: vmtouch.pod
pod2man --section 8 --center "System Manager's Manual" --release " " vmtouch.pod > vmtouch.8