[packages/iperf3] - avoid -pg (conflicts with -fomit-frame-pointer)
arekm
arekm at pld-linux.org
Mon Feb 18 11:40:08 CET 2013
commit c42451ff3705f97584d2d0ccdc828ac59d84b977
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Feb 18 11:40:04 2013 +0100
- avoid -pg (conflicts with -fomit-frame-pointer)
iperf3-nopg.patch | 11 +++++++++++
iperf3.spec | 2 ++
2 files changed, 13 insertions(+)
---
diff --git a/iperf3.spec b/iperf3.spec
index 68807ae..6d3b966 100644
--- a/iperf3.spec
+++ b/iperf3.spec
@@ -12,6 +12,7 @@ Group: Networking/Utilities
Source0: http://iperf.googlecode.com/files/iperf-%{version}b4.tar.gz
# Source0-md5: fde024a200b064b54accd1959f7e642e
Patch0: %{name}-Werror.patch
+Patch1: %{name}-nopg.patch
URL: http://code.google.com/p/iperf/
BuildRequires: libstdc++-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -30,6 +31,7 @@ with iperf2.
%prep
%setup -q -n %{orgname}-%{version}%{beta}
%patch0 -p1
+%patch1 -p1
%build
%configure
diff --git a/iperf3-nopg.patch b/iperf3-nopg.patch
new file mode 100644
index 0000000..2467aa6
--- /dev/null
+++ b/iperf3-nopg.patch
@@ -0,0 +1,11 @@
+--- iperf-3.0b4/src/Makefile.am~ 2010-07-24 01:48:45.000000000 +0200
++++ iperf-3.0b4/src/Makefile.am 2013-02-18 11:38:48.337412987 +0100
+@@ -51,7 +51,7 @@
+ iperf3_profile_SOURCES = main.c \
+ $(libiperf_a_SOURCES)
+
+-iperf3_profile_CFLAGS = -pg -Wall
++iperf3_profile_CFLAGS = -Wall
+ iperf3_profile_LDADD = libiperf.a
+
+ # Linux installs require the uuid library explicitly linked in
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/iperf3.git/commitdiff/c42451ff3705f97584d2d0ccdc828ac59d84b977
More information about the pld-cvs-commit
mailing list