diff options
Diffstat (limited to 'testing/bloaty/f66077506462bf96fee79f7f20516ca5d1e02f8a.patch')
-rw-r--r-- | testing/bloaty/f66077506462bf96fee79f7f20516ca5d1e02f8a.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/bloaty/f66077506462bf96fee79f7f20516ca5d1e02f8a.patch b/testing/bloaty/f66077506462bf96fee79f7f20516ca5d1e02f8a.patch new file mode 100644 index 0000000000..8ebc442895 --- /dev/null +++ b/testing/bloaty/f66077506462bf96fee79f7f20516ca5d1e02f8a.patch @@ -0,0 +1,22 @@ +From f66077506462bf96fee79f7f20516ca5d1e02f8a Mon Sep 17 00:00:00 2001 +From: Julie Hockett <juliehockett@google.com> +Date: Fri, 17 Aug 2018 12:50:22 -0700 +Subject: [PATCH] Propagate linker flags from the command line + +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 5ae4569..918b2fc 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -46,7 +46,7 @@ set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g1") + + if(APPLE) + elseif(UNIX) +- set(CMAKE_EXE_LINKER_FLAGS "-Wl,--build-id") ++ set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--build-id") + endif() + + # When using Ninja, compiler output won't be colorized without this. |