Mask issues with duplicate definitions for __fnstcw, __fldenv, and __fldcw on
i386 by ignoring -Wmacro-redefined. This is a bandaid until the code is fixed and will be reverted before MFC.
This commit is contained in:
parent
5a1813ecc1
commit
82482c7c1f
@ -84,6 +84,10 @@ SRCS.ilogb2_test= ilogb_test.c
|
||||
|
||||
LIBADD+= m
|
||||
|
||||
.if ${MACHINE_CPUARCH} == "i386"
|
||||
# XXX: __fldcw macro mismatch between fenv.h and ieeefp.h .
|
||||
CWARNFLAGS.clang+= -Wno-error=macro-redefined
|
||||
.endif
|
||||
WARNS?= 1
|
||||
|
||||
# Copied from lib/msun/Makefile
|
||||
|
Loading…
x
Reference in New Issue
Block a user