This commit tries to address issue 235 by removing -Wl,--as-needed from
DEAL_II_LINKER_FLAGS prior to configuration of deal.II's project
config so that -Wl,--as-needed doesn't show up any more on user side.
git-svn-id: https://svn.dealii.org/trunk@33200
0785d39b-7218-0410-832d-
ea1e28bc413d
# #
########################################################################
+#
+# Do not force --as-needed for executables on user side:
+#
+
+STRIP_FLAG(DEAL_II_LINKER_FLAGS "-Wl,--as-needed")
+
#
# Strip -Wno-deprecated from DEAL_II_CXX_FLAGS so that deprecation warnings
# are actually shown for user code:
#
+
STRIP_FLAG(DEAL_II_CXX_FLAGS "-Wno-deprecated")
STRIP_FLAG(DEAL_II_CXX_FLAGS "-Wno-deprecated-declarations")
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