mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
CMakeLists: temporarily disable --no-undefined which breaks builds with ASan
This commit is contained in:
parent
f18807ea0f
commit
37e057173c
@ -339,8 +339,9 @@ if( CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang" )
|
|||||||
|
|
||||||
elseif( NOT APPLE )
|
elseif( NOT APPLE )
|
||||||
# Thou shalt not link vaporware and tell us it's a valid DSO (apple ld doesn't support it)
|
# Thou shalt not link vaporware and tell us it's a valid DSO (apple ld doesn't support it)
|
||||||
set( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" )
|
# temporarily disabled due to breaking ASAN-enabled builds - Tom
|
||||||
set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" )
|
# set( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" )
|
||||||
|
# set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" )
|
||||||
|
|
||||||
set( CMAKE_EXE_LINKER_FLAGS_RELEASE "-s" )
|
set( CMAKE_EXE_LINKER_FLAGS_RELEASE "-s" )
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user