From a138be92a0016ccb237e8216d875720b2dbfd896 Mon Sep 17 00:00:00 2001 From: Simon Wilkinson Date: Tue, 5 Oct 2010 09:01:00 +0100 Subject: [PATCH] Irix: Make compiler less chatty Supress a few of our errors from the Irix compiler and linker, so its output is a little less verbose. This change suppresses the function declared but not used and multiple declaration errors that we get due to our static_inline fudge and the paramater declared but not used errors. Other error suppression is possible - you just need the number immediately after the 'cc-' in the build logs to say which number to add to the -woff line. Reviewed-on: http://gerrit.openafs.org/2908 Tested-by: Simon Wilkinson Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear (cherry picked from commit e7a12d56bc3b27a3ada37e2799e1925204d23300) Change-Id: Ifa967e9936cb3beed19b1df1e234a13ca9c95e37 Reviewed-on: http://gerrit.openafs.org/4005 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- src/cf/osconf.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cf/osconf.m4 b/src/cf/osconf.m4 index 7695943c2..755ac321e 100644 --- a/src/cf/osconf.m4 +++ b/src/cf/osconf.m4 @@ -704,7 +704,7 @@ case $AFS_SYSNAME in MT_LIBS="-lpthread" TXLIBS="-lcurses" XCFLAGS64="-D_BSD_COMPAT -64 -mips3" - XCFLAGS="-D_OLD_TERMIOS -D_BSD_COMPAT -n32 -woff 1009,1110,1116,1164,1171,1177,1183,1185,1204,1233,1515,1516,1548,1169,1174,1177,1196,1498,1506,1552" + XCFLAGS="-D_OLD_TERMIOS -D_BSD_COMPAT -n32 -woff 1009,1014,1110,1116,1164,1169,1171,1174,1177,1183,1185,1204,1233,1515,1516,1548,1169,1174,1177,1196,1498,1506,1552,3201 -Wl,-woff,84,-woff,15" XLDFLAGS64="-64" XLDFLAGS="-n32" SHLIB_LINKER="${CC} -shared" @@ -721,7 +721,7 @@ case $AFS_SYSNAME in MT_LIBS="-lpthread" TXLIBS="-lcurses" XCFLAGS64="-64 -mips3" - XCFLAGS="-n32 -mips3 -woff 1009,1110,1116,1164,1171,1177,1183,1185,1204,1233,1515,1516,1548,1169,1174,1177,1196,1498,1506,1552" + XCFLAGS="-n32 -mips3 -woff 1009,1014,1110,1116,1164,1171,1177,1183,1185,1204,1233,1515,1516,1548,1169,1174,1177,1196,1498,1506,1552,3201 -Wl,-woff,84,-woff,15" XLDFLAGS64="-64 -mips3" XLDFLAGS="-n32 -mips3" SHLIB_LINKER="${CC} -shared" -- 2.39.5