blob: 7870261ee62f8488de9581e48250a834e11b4b77 [file] [log] [blame]
Andrew Geissler9aee5002022-03-30 16:27:02 +00001From 155ae12f7809e387a379703d8c09f227e430336d 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>
Andrew Geissler9aee5002022-03-30 16:27:02 +000010
Brad Bishop6e60e8b2018-02-01 10:27:11 -050011---
12 src/Makefile.am | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15diff --git a/src/Makefile.am b/src/Makefile.am
Andrew Geissler9aee5002022-03-30 16:27:02 +000016index 11d3e17..4058cff 100644
Brad Bishop6e60e8b2018-02-01 10:27:11 -050017--- a/src/Makefile.am
18+++ b/src/Makefile.am
Brad Bishop26bdd442019-08-16 17:08:17 -040019@@ -58,9 +58,9 @@ if ENABLE_PROFILING
Brad Bishop6e60e8b2018-02-01 10:27:11 -050020 iperf3_profile_SOURCES = main.c \
Brad Bishop26bdd442019-08-16 17:08:17 -040021 $(libiperf_la_SOURCES)
Brad Bishop6e60e8b2018-02-01 10:27:11 -050022
23-iperf3_profile_CFLAGS = -pg -g
24+iperf3_profile_CFLAGS = -g
25 iperf3_profile_LDADD = libiperf.la
26-iperf3_profile_LDFLAGS = -pg -g
27+iperf3_profile_LDFLAGS = -g
Brad Bishop26bdd442019-08-16 17:08:17 -040028 endif
Brad Bishop6e60e8b2018-02-01 10:27:11 -050029
30 # Specify the sources and various flags for the test cases