iperf3: Fix missing stdint.h and do not link with -pg

Helps compile with musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit 85d4fe7335)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Khem Raj
2017-07-14 18:55:34 -07:00
committed by Armin Kuster
parent 4fa55201cb
commit d69c259e2d
3 changed files with 77 additions and 4 deletions
@@ -11,10 +11,11 @@ AUTHOR = "ESNET <info@es.net>, Lawrence Berkeley National Laboratory <websupport
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3434c5a9a53c78c7739f0bc9e5adda"
SRC_URI = "\
git://github.com/esnet/iperf.git \
file://automake-foreign.patch \
"
SRC_URI = "git://github.com/esnet/iperf.git \
file://automake-foreign.patch \
file://0001-include-stdint.h-for-various-std-c99-int-types.patch \
file://0002-Remove-pg-from-profile_CFLAGS.patch \
"
PV = "3.1.3+gitr${SRCPV}"
SRCREV = "099244ec686b620393e9845478a554b1c7ca5c8b"
@@ -25,4 +26,6 @@ inherit autotools
PACKAGECONFIG[lksctp] = "ac_cv_header_netinet_sctp_h=yes,ac_cv_header_netinet_sctp_h=no,lksctp-tools"
CFLAGS += "-D_GNU_SOURCE"
BBCLASSEXTEND = "native"