1From 3ae408402635ea21ad90cd722c99ae3334376c91 Mon Sep 17 00:00:00 2001 2From: Khem Raj <raj.khem@gmail.com> 3Date: Fri, 14 Jul 2017 13:00:16 -0700 4Subject: [PATCH] Remove -pg from profile_CFLAGS 5 6musl fails to link with missing gcrt1.o 7 8Signed-off-by: Khem Raj <raj.khem@gmail.com> 9Signed-off-by: Mingli Yu <mingli.yu@windriver.com> 10--- 11 src/Makefile.am | 4 ++-- 12 1 file changed, 2 insertions(+), 2 deletions(-) 13 14diff --git a/src/Makefile.am b/src/Makefile.am 15index 5be8562..3881aa6 100644 16--- a/src/Makefile.am 17+++ b/src/Makefile.am 18@@ -58,9 +58,9 @@ if ENABLE_PROFILING 19 iperf3_profile_SOURCES = main.c \ 20 $(libiperf_la_SOURCES) 21 22-iperf3_profile_CFLAGS = -pg -g 23+iperf3_profile_CFLAGS = -g 24 iperf3_profile_LDADD = libiperf.la 25-iperf3_profile_LDFLAGS = -pg -g 26+iperf3_profile_LDFLAGS = -g 27 endif 28 29 # Specify the sources and various flags for the test cases 30-- 312.21.0 32 33