]> https://gitweb.dealii.org/ - dealii.git/commit
CMake: remove -Wl,--as-needed flag setup 13732/head
authorMatthias Maier <tamiko@43-1.org>
Fri, 13 May 2022 20:57:15 +0000 (15:57 -0500)
committerMatthias Maier <tamiko@43-1.org>
Fri, 13 May 2022 21:22:27 +0000 (16:22 -0500)
commit609fa4feb42b6c273e2c4c0009e5ac74c0b706a8
tree25a7d627845893f8a6acf7bb6ea8d24cc10a2eef
parentc374906c1754189f4070af44ea73e451174569fb
CMake: remove -Wl,--as-needed flag setup

The issue with the current handling of the --Wl,--as-needed flag is the
fact that we set it internally but later on filter it (unconditionally)
for user projects.

This has the issue that it is currently not possible to set
--Wl,--as-needed by hand when needed.

Thus, let us simply remove the setup and the workarounds.
cmake/config/CMakeLists.txt
cmake/macros/macro_check_compiler_setup.cmake
cmake/setup_compiler_flags_gnu.cmake
cmake/setup_compiler_flags_intel.cmake

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.