]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Disable MIPSpro linker warning 131.
authorRalf Hartmann <Ralf.Hartmann@dlr.de>
Fri, 26 Aug 2005 11:19:34 +0000 (11:19 +0000)
committerRalf Hartmann <Ralf.Hartmann@dlr.de>
Fri, 26 Aug 2005 11:19:34 +0000 (11:19 +0000)
git-svn-id: https://svn.dealii.org/trunk@11333 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/aclocal.m4

index 89dac9cfd28e5edc0e5ba0df3aac045287077ee3..d92cec7146ee2cd05326b71defa99e0843951671 100644 (file)
@@ -524,8 +524,12 @@ AC_DEFUN(DEAL_II_SET_CXX_FLAGS, dnl
           CXXFLAGSO="$CXXFLAGS -D__sgi__ -O2 -no_auto_include -woff 1174,1552"
           CXXFLAGSPIC="-KPIC"
           LDFLAGSPIC="-KPIC"
-          dnl Avoid output of prelinker
-          LDFLAGS="$LDFLAGS -quiet_prelink"
+          dnl Avoid output of prelinker (-quiet_prelink)
+          dnl Disable compiler warning:
+          dnl ld32: WARNING 131: Multiply defined weak symbol:
+          dnl   (_M_acquire_lock__Q2_3std15_STL_mutex_lockGv) in auto_derivative_function.g.o
+          dnl   and convergence_table.g.o (2nd definition ignored)
+          LDFLAGS="$LDFLAGS -quiet_prelink -woff 131"
           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

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.