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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=321483
@ -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…
Reference in New Issue
Block a user