build: disable -Wl,--no-undefined per default
authorBernhard Miklautz <bernhard.miklautz@thincast.com>
Tue, 19 Apr 2016 12:33:26 +0000 (14:33 +0200)
committerBernhard Miklautz <bernhard.miklautz@thincast.com>
Tue, 19 Apr 2016 12:33:26 +0000 (14:33 +0200)
commit0ebc6f1f545c49520ac02ecddcff4ca0c7a9ab65
treee66cd929ae2e04a1c98c5e43203eabd61bb1ba14
parent4a9da95b0d3bebf87bcabadaeca865958f71f095
build: disable -Wl,--no-undefined per default

As building with -Wl,--no-undefined might cause issues when
combined with other linker flags (e.g. with -fsanitize=address see #3289)
it is now disabled per default but can be re-enabled with
-DWITH_NO_UNDEFINED=ON.

It is enabled for ci builds on linux to find undefined symbols.
CMakeLists.txt
ci/cmake-preloads/config-linux-all.txt