blob: 959e29389c999152057e00737065ea46db78d996 [file] [log] [blame]
Brad Bishop26bdd442019-08-16 17:08:17 -04001From 3ae408402635ea21ad90cd722c99ae3334376c91 Mon Sep 17 00:00:00 2001
Brad Bishop6e60e8b2018-02-01 10:27:11 -05002From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 14 Jul 2017 13:00:16 -0700
Brad Bishop26bdd442019-08-16 17:08:17 -04004Subject: [PATCH] Remove -pg from profile_CFLAGS
Brad Bishop6e60e8b2018-02-01 10:27:11 -05005
6musl fails to link with missing gcrt1.o
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
Brad Bishop26bdd442019-08-16 17:08:17 -04009Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Brad Bishop6e60e8b2018-02-01 10:27:11 -050010---
11 src/Makefile.am | 4 ++--
12 1 file changed, 2 insertions(+), 2 deletions(-)
13
14diff --git a/src/Makefile.am b/src/Makefile.am
Brad Bishop26bdd442019-08-16 17:08:17 -040015index 5be8562..3881aa6 100644
Brad Bishop6e60e8b2018-02-01 10:27:11 -050016--- a/src/Makefile.am
17+++ b/src/Makefile.am
Brad Bishop26bdd442019-08-16 17:08:17 -040018@@ -58,9 +58,9 @@ if ENABLE_PROFILING
Brad Bishop6e60e8b2018-02-01 10:27:11 -050019 iperf3_profile_SOURCES = main.c \
Brad Bishop26bdd442019-08-16 17:08:17 -040020 $(libiperf_la_SOURCES)
Brad Bishop6e60e8b2018-02-01 10:27:11 -050021
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
Brad Bishop26bdd442019-08-16 17:08:17 -040027 endif
Brad Bishop6e60e8b2018-02-01 10:27:11 -050028
29 # Specify the sources and various flags for the test cases
Brad Bishop6e60e8b2018-02-01 10:27:11 -050030--
Brad Bishop26bdd442019-08-16 17:08:17 -0400312.21.0
Brad Bishop6e60e8b2018-02-01 10:27:11 -050032