renderdoc-1.18-system-flags.patch (845B)
1 From f83fea90e09d368cd3d8e119a2b3a6d7352d6de6 Mon Sep 17 00:00:00 2001 2 From: Matthew Smith <matt@offtopica.uk> 3 Date: Tue, 8 Feb 2022 18:42:02 +0000 4 Subject: [PATCH] build: qrenderdoc: Respect CXX and LDFLAGS 5 6 --- 7 qrenderdoc/CMakeLists.txt | 2 ++ 8 1 file changed, 2 insertions(+) 9 10 diff --git a/qrenderdoc/CMakeLists.txt b/qrenderdoc/CMakeLists.txt 11 index 486832594..05ad8ba89 100644 12 --- a/qrenderdoc/CMakeLists.txt 13 +++ b/qrenderdoc/CMakeLists.txt 14 @@ -177,7 +177,9 @@ file(WRITE 15 "QMAKE_LINK=${CMAKE_CXX_COMPILER}\n" 16 "QMAKE_CXXFLAGS+=${warning_flags}\n" 17 "QMAKE_CXXFLAGS+=${QMAKE_CXXFLAGS}\n" 18 + "QMAKE_CXXFLAGS+=${CMAKE_CXX_FLAGS}\n" 19 "QMAKE_LFLAGS+=${QMAKE_LDFLAGS}\n" 20 + "QMAKE_LFLAGS+=${CMAKE_EXE_LINKER_FLAGS}\n" 21 "QMAKE_RPATHDIR+=${QMAKE_RPATHDIR}\n" 22 "\n" 23 "LIB_SUFFIX=${LIB_SUFFIX}\n" 24 -- 25 2.35.1 26