Skip to content

Commit 15a1484

Browse files
authored
Expressly add visibility=default to override the "hidden" in CFLAGS
1 parent a543bd5 commit 15a1484

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmake/lapacke.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2542,4 +2542,4 @@ endforeach ()
25422542

25432543
set(lapacke_include_dir "${NETLIB_LAPACK_DIR}/LAPACKE/include")
25442544
include_directories(${lapacke_include_dir})
2545-
set_source_files_properties(${LAPACKE_SOURCES} PROPERTIES COMPILE_FLAGS "${LAPACK_CFLAGS}")
2545+
set_source_files_properties(${LAPACKE_SOURCES} PROPERTIES COMPILE_FLAGS "${LAPACK_CFLAGS} -fvisibility=default")

0 commit comments

Comments
 (0)