SOURCES: netperf-makefile.patch - added OPTFLAGS and LDFLAGS
sparky
sparky at pld-linux.org
Thu Aug 10 13:51:00 CEST 2006
Author: sparky Date: Thu Aug 10 11:51:00 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- added OPTFLAGS and LDFLAGS
---- Files affected:
SOURCES:
netperf-makefile.patch (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SOURCES/netperf-makefile.patch
diff -u SOURCES/netperf-makefile.patch:1.3 SOURCES/netperf-makefile.patch:1.4
--- SOURCES/netperf-makefile.patch:1.3 Tue Oct 19 10:23:01 2004
+++ SOURCES/netperf-makefile.patch Thu Aug 10 13:50:54 2006
@@ -1,5 +1,6 @@
+diff -Nur netperf-2.3.orig/makefile netperf-2.3.makefile/makefile
--- netperf-2.3.orig/makefile 2004-06-26 00:09:50.000000000 +0200
-+++ netperf-2.3/makefile 2004-10-19 10:20:37.153146536 +0200
++++ netperf-2.3.makefile/makefile 2006-08-10 13:50:14.000000000 +0200
@@ -16,7 +16,7 @@
# in /usr/local/netperf or /opt/netperf
#
@@ -14,7 +15,20 @@
LOG_FILE=DEBUG_LOG_FILE="\"/tmp/netperf.debug\""
-CFLAGS = -O -D$(LOG_FILE) -DNEED_MAKEFILE_EDIT
-+CFLAGS = -O -D$(LOG_FILE)
++CFLAGS = $(OPTFLAGS) -D$(LOG_FILE)
# Some platforms, and some options, require additional libraries.
# you can add to the "LIBS =" line to accomplish this. if you find
+@@ -188,10 +188,10 @@
+ all: netperf netserver
+
+ netperf: $(NETPERF_OBJS)
+- $(CC) -o $@ $(NETPERF_OBJS) $(LIBS)
++ $(CC) $(LDFLAGS) -o $@ $(NETPERF_OBJS) $(LIBS)
+
+ netserver: $(NETSERVER_OBJS)
+- $(CC) -o $@ $(NETSERVER_OBJS) $(LIBS)
++ $(CC) $(LDFLAGS) -o $@ $(NETSERVER_OBJS) $(LIBS)
+
+ netperf.o: netperf.c netsh.h makefile
+
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/netperf-makefile.patch?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list