mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user