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:
parent
a7ed8c7d8a
commit
bf7afd355f
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user