jer 14/07/19 13:29:42 Added: iperf-3.0.5-flags.patch Log: Do not inject -g into CFLAGS/LDFLAGS, do not create an additional profiled build (bug #517488 by Ronny Boesger). (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Revision Changes Path 1.1 net-misc/iperf/files/iperf-3.0.5-flags.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/iperf/files/iperf-3.0.5-flags.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/iperf/files/iperf-3.0.5-flags.patch?rev=1.1&content-type=text/plain Index: iperf-3.0.5-flags.patch =================================================================== * Do not inject -g * Do not make a profiled build --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,6 +1,6 @@ lib_LTLIBRARIES = libiperf.la # Build and install an iperf library bin_PROGRAMS = iperf3 # Build and install an iperf binary -noinst_PROGRAMS = t_timer t_units t_uuid iperf3_profile # Build, but don't install the test programs and a profiled version of iperf3 +noinst_PROGRAMS = t_timer t_units t_uuid # Build, but don't install the test programs and a profiled version of iperf3 include_HEADERS = iperf_api.h # Defines the headers that get installed with the program @@ -37,14 +37,13 @@ # Specify the sources and various flags for the iperf binary iperf3_SOURCES = main.c -iperf3_CFLAGS = -g +iperf3_CFLAGS = iperf3_LDADD = libiperf.la -iperf3_LDFLAGS = -g +iperf3_LDFLAGS = # Specify the sources and various flags for the profiled iperf binary. This # binary recompiles all the source files to make sure they are all profiled. -iperf3_profile_SOURCES = main.c \ - $(libiperf_la_SOURCES) +iperf3_profile_SOURCES = main.c iperf3_profile_CFLAGS = -pg -g iperf3_profile_LDADD = libiperf.la