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

14 lines
404 B
Diff

--- a/src/Makefile.linux 2017-01-20 15:51:20.339835620 -0600
+++ b/src/Makefile.linux 2017-01-20 15:52:18.975831788 -0600
@@ -4,8 +4,8 @@
CPUTYPE=i386
HVOPT=-DHV
-CFLAGS=-D$(OSTYPE) -D$(CPUTYPE) $(HVOPT) -Wall -DTAP
-LDFLAGS=-lpthread -lutil
+override CFLAGS+=-D$(OSTYPE) -D$(CPUTYPE) $(HVOPT) -Wall -I. -DTAP
+override LDFLAGS+=-lpthread -lutil -s -static
OBJS=vpcs.o \
daemon.o \
readline.o \