source: freewrt/package/netperf/patches/01-netperf-2.3pl1-openwrt.patch@ 475ad56

freewrt_1_0 freewrt_2_0
Last change on this file since 475ad56 was 475ad56, checked in by Waldemar Brodkorb <wbx@…>, 20 years ago

add OpenWrt trunk revision 3830.

git-svn-id: svn://www.freewrt.org/trunk/freewrt@1 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1.3 KB
  • netperf-2.3pl1

    old new  
    1515# for the rest of the world, it is probably better to put the binaries
    1616# in /usr/local/netperf or /opt/netperf
    1717#
    18 #NETPERF_HOME = /usr/local/netperf
    19 NETPERF_HOME = /opt/netperf
     18NETPERF_HOME = $(TARGET_NETPERF_HOME)
    2019
    2120# The compiler on your system might be somewhere else, and/or have
    2221# a different name.
     
    4039# You may safely ignore that warning.
    4140#
    4241
    43 CC = cc
     42CC = $(TARGET_CC)
    4443
    4544# Adding flags to CFLAGS enables some non-mainline features. For
    4645# more information, please consult the source code.
     
    113112#                   netserver via the netperf command line with -T
    114113
    115114LOG_FILE=DEBUG_LOG_FILE="\"/tmp/netperf.debug\""
    116 CFLAGS = -O -D$(LOG_FILE) -DNEED_MAKEFILE_EDIT
     115CFLAGS = -D$(LOG_FILE) $(TARGET_CFLAGS)
    117116
    118117# Some platforms, and some options, require additional libraries.
    119118# you can add to the "LIBS =" line to accomplish this. if you find
     
    136135# -lresolv              - required for -DDO_DNS on RedHat 7.1
    137136# -lsocket -lbind       - required for Zeta OS
    138137
    139 LIBS= -lm
     138LIBS= -lm $(TARGET_LIBS)
    140139
    141140# ---------------------------------------------------------------
    142141# it should not be the case that anything below this line needs to
Note: See TracBrowser for help on using the repository browser.