From cc31475fb1bfb13ddaf1127711b1eeb1c8cdb5e6 Mon Sep 17 00:00:00 2001 From: heltai Date: Tue, 28 Dec 2010 20:56:00 +0000 Subject: [PATCH] Fixed aclocal for mac os x git-svn-id: https://svn.dealii.org/trunk@23082 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/aclocal.m4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index f7575ecd0c..d4c439865c 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -1727,9 +1727,9 @@ AC_DEFUN(DEAL_II_CHECK_DYNAMIC_CAST_BUG, AC_DEFINE(DEAL_II_HAVE_DARWIN_DYNACAST_BUG, 1, [Defined if the compiler has a bug with dynamic casting and dynamic libraries]) - CXXFLAGSG="$CXXFLAGSG -mmacosx-version-min=10.4" - CXXFLAGSO="$CXXFLAGSO -mmacosx-version-min=10.4" - LDFLAGS="$LDFLAGS -mmacosx-version-min=10.4" + CXXFLAGSG="$CXXFLAGSG -mmacosx-version-min=`uname -r`" + CXXFLAGSO="$CXXFLAGSO -mmacosx-version-min=`uname -r`" + LDFLAGS="$LDFLAGS -mmacosx-version-min=`uname -r`" fi rm -f contrib/config/tests/darwin-dynamic-cast/libDynamicCastTestLib.dylib rm -f contrib/config/tests/darwin-dynamic-cast/main.o -- 2.39.5