Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 1 | From 6f62c77f0a51de17b7f81f225ef483ed8214640e Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Sat, 26 Jun 2021 14:19:10 -0700 |
| 4 | Subject: [PATCH] Sources.mk: Remove xml/PmuXMLParser.h header from |
| 5 | GATORD_CXX_SRC_FILES |
| 6 | |
| 7 | This otherwise appears in final linker cmdline and clang is not happy |
| 8 | since it sees this as an output file along with the real output file |
| 9 | specified with -o and bails out |
| 10 | |
| 11 | | clang-13: error: cannot specify -o when generating multiple output files |
| 12 | |
| 13 | Upstream-Status: Backport [https://github.com/ARM-software/gator/commit/6ef311882a56e14c189d70c4d72945dd95e9b88e] |
| 14 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 15 | --- |
| 16 | daemon/Sources.mk | 3 +-- |
| 17 | 1 file changed, 1 insertion(+), 2 deletions(-) |
| 18 | |
| 19 | diff --git a/daemon/Sources.mk b/daemon/Sources.mk |
| 20 | index 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 | -- |
| 31 | 2.32.0 |
| 32 | |