]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add necessary linker flag
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 2 Jul 2007 14:41:38 +0000 (14:41 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 2 Jul 2007 14:41:38 +0000 (14:41 +0000)
git-svn-id: https://svn.dealii.org/trunk@14842 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/aclocal.m4
deal.II/configure

index c4ae8cf6a7737107217ba3c6b665e8c47b32fc04..f96b360ea21509360d7527fa658eb48172bcb1c2 100644 (file)
@@ -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
index d2de86cf046ba1c567a4df988355f667be427f45..c2e939ba53a02b1d485b07547ecd9c26abd5ff14 100755 (executable)
@@ -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

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.