sci-libs/dart: respect LDFLAGS

Closes: https://bugs.gentoo.org/791418
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-09-07 12:44:49 +02:00
parent df3ff1d923
commit bc0713ed1c
3 changed files with 19 additions and 6 deletions

View File

@@ -0,0 +1,11 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -220,7 +220,7 @@
endif()
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELEASE} ${CMAKE_CXX_FLAGS_DEBUG}")
set(CMAKE_CXX_FLAGS_PROFILE "${CMAKE_CXX_FLAGS_DEBUG} -pg")
- set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined")
+ set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined")
# Enforce to colorize compilation output
if(${DART_FORCE_COLORED_OUTPUT})