From 9b5a02a533bc714de565e493c51232c0e0896372 Mon Sep 17 00:00:00 2001 From: bangerth Date: Mon, 20 Aug 2012 11:27:14 +0000 Subject: [PATCH] Take -fast out of the flags when compiling C files with Clang because this flag is apparently not recognized. git-svn-id: https://svn.dealii.org/trunk@26026 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/aclocal.m4 | 4 ++-- deal.II/configure | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index 17ceee0dd0..3c12985d5c 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -1680,7 +1680,7 @@ AC_DEFUN(DEAL_II_SET_CC_FLAGS, dnl clang) CFLAGS="$CFLAGS -g" - CFLAGSO="$CFLAGS -fast -O2" + CFLAGSO="$CFLAGS -O2" CFLAGSPIC="-fPIC" ;; @@ -1988,7 +1988,7 @@ 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]) - if(test "`sw_vers -productVersion`" != "10.8");then + if(test "`sw_vers -productVersion`" != "10.8");then CXXFLAGSG="$CXXFLAGSG -mmacosx-version-min=10.4" CXXFLAGSO="$CXXFLAGSO -mmacosx-version-min=10.4" LDFLAGS="$LDFLAGS -mmacosx-version-min=10.4" diff --git a/deal.II/configure b/deal.II/configure index 8409e4b887..4aa91dead8 100755 --- a/deal.II/configure +++ b/deal.II/configure @@ -5820,7 +5820,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext clang) CFLAGS="$CFLAGS -g" - CFLAGSO="$CFLAGS -fast -O2" + CFLAGSO="$CFLAGS -O2" CFLAGSPIC="-fPIC" ;; -- 2.39.5