Skip to content

Commit e73c4ec

Browse files
authored
Validate dynamic linking and runtime relocations in MinGW (#338)
Co-authored-by: Evgeny Karpov <[email protected]>
1 parent ff2d685 commit e73c4ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if (NOT DEFINED ENV{TOOLCHAIN_PATH})
1111
endif()
1212

1313
set(CMAKE_C_COMPILER "$ENV{TOOLCHAIN_PATH}/bin/$ENV{TARGET}-gcc")
14-
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fopenmp -static")
14+
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fopenmp")
1515
set(CMAKE_RANLIB "$ENV{TOOLCHAIN_PATH}/bin/$ENV{TARGET}-ranlib")
1616

1717
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION TRUE)

0 commit comments

Comments
 (0)