mirror of
https://git.openafs.org/openafs.git
synced 2025-01-22 17:00:15 +00:00
Irix: Supress some more warnings in kernel builds
Suppress the following warnings in kernel builds: *) The function "blah" was declared but never referenced (1174) *) The indicated trailing comma is non-standard (1201) *) The parameter "blah" was never referenced (3201) *) implicit conversion of a 64-bit integral type to a smaller integral type (3968) Change-Id: If6cf21f287b5aefa06daaa2807e05a84e391fa95 Reviewed-on: http://gerrit.openafs.org/4419 Reviewed-by: Derrick Brashear <shadow@dementia.org> Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
This commit is contained in:
parent
80ed51a053
commit
353857e768
@ -36,6 +36,8 @@ AFS_OS_NONFSOBJS = \
|
||||
|
||||
# System specific build commands and flags
|
||||
DBUG=-g2
|
||||
WSUPPRESS= -woff 1174,1196,1201,1209,1496,3201,3968
|
||||
|
||||
|
||||
<sgi_62>
|
||||
MPS=MP SP
|
||||
@ -50,7 +52,7 @@ KDEFS=-D_K64U64 -D_KERNEL -DSTATIC=static -D_PAGESZ=16384 -D_MIPS3_ADDRSPACE \
|
||||
-DTFP -non_shared -elf -xansi -64 -mips4 -TENV:kernel \
|
||||
-TENV:misalignment=1 -OPT:space \
|
||||
-D${CPUBOARD} -D${MPSP} -D${CPUARCH} -DAFS_SGIMP_ENV ${NODYNOPT} \
|
||||
-jalr -woff 1209,1196,1496
|
||||
-jalr ${WSUPPRESS}
|
||||
<sgi_62>
|
||||
# Turning off warnings regarding constant conditionals and not prototyped.
|
||||
KDEFS_64BIT= -64 -D_K64U64 -D_PAGESZ=16384 -TENV:kernel -OPT:space \
|
||||
@ -66,7 +68,7 @@ KDEFS= -I/usr/include -I/usr/include/sys -D_KERNEL -DSTATIC=static \
|
||||
-D_MIPS3_ADDRSPACE -non_shared -elf -xansi \
|
||||
${CPU_KDEFS} \
|
||||
-D${CPUBOARD} -D${MPSP} -DAFS_SGIMP_ENV ${NODYNOPT} \
|
||||
-jalr -woff 1209,1196,1496
|
||||
-jalr ${WSUPPRESS}
|
||||
R10000_KDEFS = -mips4 -DR10000 -DEXPRESS -DIP28 -DI2_64 -DFAST_LOCORE_FAULT \
|
||||
-DSCACHE_SET_ASSOC=2 -D_NO_UNCACHED_MEM_WAR -DMIPS4_ISA \
|
||||
-DR10000_SPECULATION_WAR \
|
||||
@ -92,7 +94,7 @@ KDEFS= -I/usr/include -I/usr/include/sys -D_KERNEL -DSTATIC=static \
|
||||
-non_shared -elf -xansi \
|
||||
${CPU_KDEFS} \
|
||||
-D${CPUBOARD} -D${MPSP} -DAFS_SGIMP_ENV ${NODYNOPT} \
|
||||
-jalr -woff 1209,1196,1496
|
||||
-jalr ${WSUPPRESS}
|
||||
R5000_LDFLAGS = -mips2 -o32
|
||||
R5000_KDEFS = -DCRIME -DIP32 -DCRM -D_K32U64 -xansi -D_PAGESZ=4096 \
|
||||
-D_KERNEL -DSTATIC=static -DPROBE_WAR -D_VCE_AVOIDANCE -DTILE_DATA \
|
||||
@ -120,7 +122,7 @@ KDEFS= -I/usr/include -I/usr/include/sys -D_KERNEL -DSTATIC=static \
|
||||
-non_shared -elf -xansi \
|
||||
${CPU_KDEFS} \
|
||||
-D${CPUBOARD} -D${MPSP} -DAFS_SGIMP_ENV ${NODYNOPT} \
|
||||
-jalr -woff 1209,1196,1496
|
||||
-jalr ${WSUPPRESS}
|
||||
R10000_LDFLAGS = -mips4 -64
|
||||
R10000_KDEFS = -DKONA -DIP27 -DIP27 -DDISCONTIG_PHYSMEM -DNUMA_BASE -DNUMA_PM \
|
||||
-DNUMA_TBORROW -DNUMA_MIGR_CONTROL -DNUMA_REPLICATION \
|
||||
@ -163,7 +165,7 @@ KDEFS= -I/usr/include -I/usr/include/sys -DSTATIC=static -DAFS_SGIMP_ENV \
|
||||
-TENV:kernel -OPT:space -OPT:Olimit=0 -CG:unique_exit=on \
|
||||
-TENV:X=1 -OPT:IEEE_arithmetic=1 -OPT:roundoff=0 \
|
||||
-OPT:wrap_around_unsafe_opt=off \
|
||||
-woff 1209,1196,1496
|
||||
${WSUPPRESS}
|
||||
# 32 bit specific flags:
|
||||
KDEFS_32 = -n32 -D_PAGESZ=4096 -mips3
|
||||
# 64 bit specific flags:
|
||||
|
Loading…
Reference in New Issue
Block a user