blob: 8ac2bdc415dcc6f2a0883557c7a5a6fd6119e343 [file] [log] [blame]
Brad Bishopbec4ebc2022-08-03 09:55:16 -04001From 6f62c77f0a51de17b7f81f225ef483ed8214640e Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 26 Jun 2021 14:19:10 -0700
4Subject: [PATCH] Sources.mk: Remove xml/PmuXMLParser.h header from
5 GATORD_CXX_SRC_FILES
6
7This otherwise appears in final linker cmdline and clang is not happy
8since it sees this as an output file along with the real output file
9specified with -o and bails out
10
11| clang-13: error: cannot specify -o when generating multiple output files
12
13Upstream-Status: Backport [https://github.com/ARM-software/gator/commit/6ef311882a56e14c189d70c4d72945dd95e9b88e]
14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15---
16 daemon/Sources.mk | 3 +--
17 1 file changed, 1 insertion(+), 2 deletions(-)
18
19diff --git a/daemon/Sources.mk b/daemon/Sources.mk
20index 60d15ef..3e679f5 100644
21--- a/daemon/Sources.mk
22+++ b/daemon/Sources.mk
23@@ -147,5 +147,4 @@ GATORD_CXX_SRC_FILES := \
24 xml/EventsXMLProcessor.cpp \
25 xml/MxmlUtils.cpp \
26 xml/PmuXML.cpp \
27- xml/PmuXMLParser.cpp \
28- xml/PmuXMLParser.h
29+ xml/PmuXMLParser.cpp
30--
312.32.0
32