respect LDFLAGS from environment during build
This commit is contained in:
parent
d35e69c8a9
commit
4844534d7d
@ -216,7 +216,7 @@ set(CMAKE_C_FLAGS_MINSIZEREL "-Os -DNDEBUG")
|
|||||||
set(CMAKE_C_FLAGS_RELEASE "-O4 -DNDEBUG")
|
set(CMAKE_C_FLAGS_RELEASE "-O4 -DNDEBUG")
|
||||||
set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 -g")
|
set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 -g")
|
||||||
|
|
||||||
set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined -Wl,--fatal-warnings")
|
set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined -Wl,--fatal-warnings ${CMAKE_SHARED_LINKER_FLAGS}")
|
||||||
|
|
||||||
# If no build type is set, pick a reasonable one
|
# If no build type is set, pick a reasonable one
|
||||||
if(NOT CMAKE_BUILD_TYPE)
|
if(NOT CMAKE_BUILD_TYPE)
|
||||||
|
Loading…
Reference in New Issue
Block a user