openbsd-ports/benchmarks/netpipe/patches/patch-Makefile
jasper 1d91bfb332 fix build on mips64.
no bump, because !mips64 packages didn't change, and mips64 didn't package.
2007-11-07 20:57:37 +00:00

13 lines
459 B
Plaintext

$OpenBSD: patch-Makefile,v 1.1 2007/11/07 20:57:37 jasper Exp $
--- Makefile.orig Wed Nov 7 21:53:26 2007
+++ Makefile Wed Nov 7 21:54:21 2007
@@ -38,7 +38,7 @@ NPtcp: NPtcp.o TCP.o
$(CC) $(CFLAGS) NPtcp.o TCP.o -o NPtcp $(EXTRA_LIBS)
NPtcp.o: $(DRIV_SRC) $(INCLUDES)
- $(CC) $(CFLAGS) -DTCP -c -o NPtcp.o $(DRIV_SRC)
+ $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -DTCP -c -o NPtcp.o $(DRIV_SRC)
TCP.o: TCP.c TCP.h $(INCLUDES)
$(CC) $(CFLAGS) -DTCP -c TCP.c