From: bangerth Date: Mon, 2 Jul 2007 14:41:38 +0000 (+0000) Subject: Add necessary linker flag X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f016bfb137ce5425301193590a05e7a597dbb6bd;p=dealii-svn.git Add necessary linker flag git-svn-id: https://svn.dealii.org/trunk@14842 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index c4ae8cf6a7..f96b360ea2 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -608,6 +608,7 @@ AC_DEFUN(DEAL_II_SET_CXX_FLAGS, dnl CXXFLAGSG="$CXXFLAGS -DDEBUG -inline_debug_info" CXXFLAGSO="$CXXFLAGS -O2 -unroll" CXXFLAGSPIC="-fPIC" + LDFLAGS="$LDFLAGS -lstdc++" LDFLAGSPIC="-fPIC" ;; esac diff --git a/deal.II/configure b/deal.II/configure index d2de86cf04..c2e939ba53 100755 --- a/deal.II/configure +++ b/deal.II/configure @@ -4199,6 +4199,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CXXFLAGSG="$CXXFLAGS -DDEBUG -inline_debug_info" CXXFLAGSO="$CXXFLAGS -O2 -unroll" CXXFLAGSPIC="-fPIC" + LDFLAGS="$LDFLAGS -lstdc++" LDFLAGSPIC="-fPIC" ;; esac