Add -Wno-pointer-sign to CWARNFLAGS.

Switch ia64 kernels to -fpic. This is likely wrong, but at least gets
ia64 kernels to compile and link with GCC 4.2. The previous -mno-sdata
trick is not working anymore.
This commit is contained in:
kan 2007-05-19 04:45:54 +00:00
parent a7ed8c7d8a
commit bf7afd355f

View File

@ -12,7 +12,7 @@ CWARNFLAGS=
.else .else
CWARNFLAGS?= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \ CWARNFLAGS?= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \ -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \
${_wundef} -fformat-extensions ${_wundef} -Wno-pointer-sign -fformat-extensions
.if !defined(NO_UNDEF) .if !defined(NO_UNDEF)
_wundef= -Wundef _wundef= -Wundef
.endif .endif
@ -46,7 +46,7 @@ INLINE_LIMIT?= 8000
# a very small subset of float registers for integer divides. # a very small subset of float registers for integer divides.
# #
.if ${MACHINE_ARCH} == "ia64" .if ${MACHINE_ARCH} == "ia64"
CFLAGS+= -ffixed-r13 -mfixed-range=f32-f127 -mno-sdata CFLAGS+= -ffixed-r13 -mfixed-range=f32-f127 -fpic #-mno-sdata
INLINE_LIMIT?= 15000 INLINE_LIMIT?= 15000
.endif .endif