]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Don't use -inline_debug_info for more recent icc versions.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 15 Apr 2009 13:56:19 +0000 (13:56 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 15 Apr 2009 13:56:19 +0000 (13:56 +0000)
git-svn-id: https://svn.dealii.org/trunk@18614 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 7b99f54de5b65761f70c8384a70ae4c7c0b2524b..ee17ade4cc01a9a1d1cfa20d3c973ec5df8c811b 100644 (file)
@@ -738,7 +738,9 @@ AC_DEFUN(DEAL_II_SET_CXX_FLAGS, dnl
   
       intel_icc*)
           dnl Earlier icc versions used -Kxxx for flags. Later versions use
-          dnl the gcc convention -fxxx
+          dnl the gcc convention -fxxx. Also, at least since icc11, the
+          dnl flag -inline_debug_info has been deprecated, so don't use
+         dnl it any more
          dnl
          dnl Exception handling is also standard in later versions, as is rtti
          case "$GXX_VERSION" in
@@ -750,7 +752,7 @@ AC_DEFUN(DEAL_II_SET_CXX_FLAGS, dnl
               ;;
 
            intel_icc*)
-             CXXFLAGSG="$CXXFLAGS -DDEBUG -inline_debug_info"
+             CXXFLAGSG="$CXXFLAGS -DDEBUG"
               CXXFLAGSO="$CXXFLAGS -O2 -unroll"
               CXXFLAGSPIC="-fPIC"
              LDFLAGS="$LDFLAGS -lstdc++ -lpthread"
index b525461e7baea1a8025ca98f3c9ce2bf47b7e4af..6ef607dc0c8f425a91105647490c424a575a5863 100755 (executable)
@@ -4729,7 +4729,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
           ;;
 
       intel_icc*)
-                                         case "$GXX_VERSION" in
+                                                         case "$GXX_VERSION" in
            intel_icc5 | intel_icc6 | intel_icc7 | intel_icc8 | intel_icc9)
              CXXFLAGSG="$CXXFLAGS -Kc++eh -Krtti -DDEBUG -inline_debug_info"
               CXXFLAGSO="$CXXFLAGS -Kc++eh -Krtti -O2 -unroll"
@@ -4738,7 +4738,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
               ;;
 
            intel_icc*)
-             CXXFLAGSG="$CXXFLAGS -DDEBUG -inline_debug_info"
+             CXXFLAGSG="$CXXFLAGS -DDEBUG"
               CXXFLAGSO="$CXXFLAGS -O2 -unroll"
               CXXFLAGSPIC="-fPIC"
              LDFLAGS="$LDFLAGS -lstdc++ -lpthread"

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.