Files
macports-ports/emulators/vpcs/files/patch-makefiles-osx.diff
lasticandKen ca565191ee vpcs: new port
PC emulator particularly of use
with the Cisco dynamips emulator
2019-03-02 18:51:25 -08:00

18 lines
402 B
Diff

--- Makefile.osx.orig 2019-03-02 18:21:21.000000000 -0800
+++ Makefile.osx 2019-03-02 18:22:40.000000000 -0800
@@ -1,11 +1,11 @@
RM=rm -f
-CC=gcc $(CCOPT)
+CC ?= gcc $(CCOPT)
OSTYPE=Darwin
CPUTYPE=i386
HVOPT=-DHV
-CFLAGS=-D$(OSTYPE) -D$(CPUTYPE) $(HVOPT) -Wall
-LDFLAGS=-lpthread
+CFLAGS += -D$(OSTYPE) -D$(CPUTYPE) $(HVOPT) -Wall
+LDFLAGS += -lpthread
OBJS=vpcs.o \
daemon.o \
readline.o \