mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 02:08:49 -04:00
23 lines
702 B
Plaintext
23 lines
702 B
Plaintext
$NetBSD: patch-aa,v 1.5 2012/01/12 15:15:09 hans Exp $
|
|
|
|
--- makefile.orig 2010-10-14 09:16:46.000000000 +0000
|
|
+++ makefile
|
|
@@ -20,8 +20,6 @@
|
|
#
|
|
########################################################################
|
|
|
|
-CC = cc
|
|
-CFLAGS = -O -g
|
|
SRC = ./src
|
|
|
|
# For MPI, mpicc will set up the proper include and library paths
|
|
@@ -81,7 +79,7 @@ clean:
|
|
|
|
|
|
tcp: $(SRC)/tcp.c $(SRC)/netpipe.c $(SRC)/netpipe.h
|
|
- $(CC) $(CFLAGS) $(SRC)/netpipe.c $(SRC)/tcp.c -DTCP -o NPtcp -I$(SRC)
|
|
+ $(CC) $(CFLAGS) $(SRC)/netpipe.c $(SRC)/tcp.c -DTCP -o NPtcp -I$(SRC) ${EXTRA_LIBS}
|
|
|
|
tcp6: $(SRC)/tcp.c $(SRC)/netpipe.c $(SRC)/netpipe.h
|
|
$(CC) $(CFLAGS) $(SRC)/netpipe.c $(SRC)/tcp6.c -DTCP6 \
|