From 6c9253526f6933c5ea1fec0dae593888f15b0a92 Mon Sep 17 00:00:00 2001 From: Ralf Hartmann Date: Fri, 26 Aug 2005 11:19:34 +0000 Subject: [PATCH] Disable MIPSpro linker warning 131. git-svn-id: https://svn.dealii.org/trunk@11333 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/aclocal.m4 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index 89dac9cfd2..d92cec7146 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -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 -- 2.39.5