]> https://gitweb.dealii.org/ - dealii.git/commit
CMake: Disable -Wl,--as-needed in DEAL_II_HAVE_USABLE_FLAGS 3916/head
authorMatthias Maier <tamiko@43-1.org>
Fri, 3 Feb 2017 08:35:32 +0000 (02:35 -0600)
committerMatthias Maier <tamiko@43-1.org>
Fri, 3 Feb 2017 20:24:50 +0000 (14:24 -0600)
commit7d7156ad23319a37abde4f515b7d498d378bfc69
treeeb839d21ea886fc52d5367ca605ba4b9a1e4333f
parente5400cb70ed9c529be03c0c9b93d6512b7768e4a
CMake: Disable -Wl,--as-needed in DEAL_II_HAVE_USABLE_FLAGS

This works around a serious regression with ld.bfd in combination with
-Wl,--as-needed when compiling a simple

  int main () { return 0; }

and linking against a *huge* list of (entirely unused) libraries.

See #3686
cmake/macros/macro_check_compiler_setup.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.