flexiblas/flexiblas-3.0.4-annocheck.patch
Matej Mužila 57841c1388 Fix annocheck bind-now problems
Resolves: rhbz#2044859
2022-02-15 13:50:54 +01:00

15 lines
488 B
Diff

diff -up flexiblas-3.0.4/CMakeLists.txt.annocheck flexiblas-3.0.4/CMakeLists.txt
--- flexiblas-3.0.4/CMakeLists.txt.annocheck 2020-10-22 11:07:48.000000000 +0200
+++ flexiblas-3.0.4/CMakeLists.txt 2022-02-15 09:50:29.971016074 +0100
@@ -177,6 +177,10 @@ SET ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS
SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
+IF(DEFINED ENV{LDFLAGS})
+ SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} $ENV{LDFLAGS}")
+ENDIF()
+
#
# Check Some files
#