void-packages/srcpkgs/vpcs/patches/ldflags.patch
2017-04-23 16:21:37 -05:00

13 lines
420 B
Diff

--- src/Makefile.linux.orig 2017-01-20 15:51:20.339835620 -0600
+++ 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 \