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

14 lines
419 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 -I. -DTAP
-LDFLAGS=-lpthread -lutil -s -static
+override CFLAGS+=-D$(OSTYPE) -D$(CPUTYPE) $(HVOPT) -Wall -I. -DTAP
+override LDFLAGS+=-lpthread -lutil -s -static
OBJS=vpcs.o \
daemon.o \
readline.o \