Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109399384
D29743.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
871 B
Referenced Files
None
Subscribers
None
D29743.diff
View Options
diff --git a/lib/msun/Makefile b/lib/msun/Makefile
--- a/lib/msun/Makefile
+++ b/lib/msun/Makefile
@@ -255,4 +255,10 @@
HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
+.include <bsd.compiler.mk>
+.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 120000
+# Silence '#pragma FENV_ACCESS' is not supported on this target - ignored
+CWARNFLAGS+= -Wno-error=ignored-pragmas
+.endif
+
.include <bsd.lib.mk>
diff --git a/lib/msun/tests/Makefile b/lib/msun/tests/Makefile
--- a/lib/msun/tests/Makefile
+++ b/lib/msun/tests/Makefile
@@ -100,6 +100,12 @@
CFLAGS.fe_round_test+= -D__HAVE_FENV
+.include <bsd.compiler.mk>
+.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 120000
+# Silence '#pragma FENV_ACCESS' is not supported on this target - ignored
+CWARNFLAGS+= -Wno-error=ignored-pragmas
+.endif
+
.include <netbsd-tests.test.mk>
.include <bsd.test.mk>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Feb 5, 1:52 PM (12 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16475234
Default Alt Text
D29743.diff (871 B)
Attached To
Mode
D29743: lib/msun: Exclude ignored-pragmas from -Werror
Attached
Detach File
Event Timeline
Log In to Comment