]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
MipsPro compiler: add no_auto_include and quiet_prelink flags.
authorhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 26 Feb 2004 11:55:58 +0000 (11:55 +0000)
committerhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 26 Feb 2004 11:55:58 +0000 (11:55 +0000)
git-svn-id: https://svn.dealii.org/trunk@8559 0785d39b-7218-0410-832d-ea1e28bc413d

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

index ac362d6131c17376e016f962da790df18bc6944a..9ec3c3f678d984a554c534837890182a17c95e04 100644 (file)
@@ -403,19 +403,18 @@ AC_DEFUN(DEAL_II_SET_CXX_FLAGS, dnl
           dnl The indicated enumeration value is out of "int" range.
           dnl cc-1485 CC: WARNING File = /usr/include/CC/iomanip, Line = 122
           dnl This form for taking the address of a member function is nonstandard.
-          CXXFLAGSG="$CXXFLAGS -DDEBUG -LANG:std -ansiW -woff 1429,1066,1485"
+          CXXFLAGSG="$CXXFLAGS -DDEBUG -no_auto_include -ansiW -woff 1429,1066,1485"
           dnl Disable some compiler warnings, that warn about variables
           dnl which are used in Assert templates but not in optimized mode
           dnl cc-1174 CC: full_matrix.templates.h, Line = 1461
           dnl The variable "typical_diagonal_element" was declared but never referenced.
           dnl cc-1552 CC: WARNING File = source/data_out_base.cc, Line = 3493
           dnl The variable "ierr" is set but never used.
-          CXXFLAGSO="$CXXFLAGS -O2 -LANG:std -woff 1174,1552"
+          CXXFLAGSO="$CXXFLAGS -O2 -no_auto_include -woff 1174,1552"
           CXXFLAGSPIC="-KPIC"
           LDFLAGSPIC="-KPIC"
-          dnl Avoid output of prelinker: although manpages tell that -quiet_prelinker
-          dnl should work, it is not accepted (CC ERROR parsing -quiet_prelinker:  unknown flag)
-          dnl LDFLAGS="$LDFLAGS -quiet_prelinker"
+          dnl Avoid output of prelinker
+          LDFLAGS="$LDFLAGS -quiet_prelink"
           dnl
           dnl Always link with math library: The -lm option must be at the end of the
           dnl linker command, therefore it cannot be included into LDFLAGS
index 4f7ece8e43365f94ef43161abab049e980bf29bc..edfa1cfb8034af438951d5488321514a16b8021a 100755 (executable)
@@ -3076,8 +3076,9 @@ rm -f conftest.$ac_objext conftest.$ac_ext
           ;;
 
       MIPSpro*)
-          CXXFLAGSG="$CXXFLAGS -DDEBUG -LANG:std -ansiW -woff 1429,1066,1485"
-          CXXFLAGSO="$CXXFLAGS -O2 -LANG:std -woff 1174,1552"
+          CXXFLAGSG="$CXXFLAGS -DDEBUG -no_auto_include -ansiW -woff 1429,1066,1485"
+          CXXFLAGSO="$CXXFLAGS -O2 -no_auto_include -woff 1174,1552"
+          LDFLAGS="$LDFLAGS -quiet_prelink"
           LIBS="$LIBS -lm"
           CXXFLAGSPIC="-KPIC"
           LDFLAGSPIC="-KPIC"

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.