Blame SOURCES/flexiblas-3.0.4-annocheck.patch

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