From: Matthias Maier <tamiko@kyomu.43-1.org>
Date: Thu, 20 Sep 2012 20:56:27 +0000 (+0000)
Subject: Bugfix
X-Git-Tag: v8.0.0~1079^2~749
X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05806e3d9dca13458afb88bc6542483af9ec6981;p=dealii.git

Bugfix

git-svn-id: https://svn.dealii.org/branches/branch_cmake@26577 0785d39b-7218-0410-832d-ea1e28bc413d
---

diff --git a/deal.II/contrib/cmake/setup_compiler_flags_gnu.cmake b/deal.II/contrib/cmake/setup_compiler_flags_gnu.cmake
index 2b23322e3b..dedf74e84d 100644
--- a/deal.II/contrib/cmake/setup_compiler_flags_gnu.cmake
+++ b/deal.II/contrib/cmake/setup_compiler_flags_gnu.cmake
@@ -23,7 +23,7 @@ ENABLE_IF_SUPPORTED(CMAKE_CXX_FLAGS "-fpic")
 # Check whether the -as-needed flag is available. If so set it to link
 # the deal.II library with it.
 #
-ENABLE_IF_SUPPORTED(CMAKE_SHARED_LINKER_FLAGS "-Wl,-as-needed")
+ENABLE_IF_SUPPORTED(CMAKE_SHARED_LINKER_FLAGS "-Wl,--as-needed")
 
 
 #