Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102743269
D21195.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
773 B
Referenced Files
None
Subscribers
None
D21195.diff
View Options
Index: head/tests/sys/fs/fusefs/Makefile
===================================================================
--- head/tests/sys/fs/fusefs/Makefile
+++ head/tests/sys/fs/fusefs/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+.include <bsd.compiler.mk>
+
PACKAGE= tests
TESTSDIR= ${TESTSBASE}/sys/fs/fusefs
@@ -65,7 +67,10 @@
FUSEFS= ${SRCTOP}/sys/fs/fuse
MOUNT= ${SRCTOP}/sbin/mount
# Suppress warnings that GCC generates for the libc++ and gtest headers.
-CXXWARNFLAGS.gcc+= -Wno-placement-new -Wno-attributes -Wno-class-memaccess
+CXXWARNFLAGS.gcc+= -Wno-placement-new -Wno-attributes
+.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 80000
+CXXWARNFLAGS+= -Wno-class-memaccess
+.endif
CXXFLAGS+= -I${SRCTOP}/tests
CXXFLAGS+= -I${FUSEFS}
CXXFLAGS+= -I${MOUNT}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 17, 2:51 PM (16 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14680572
Default Alt Text
D21195.diff (773 B)
Attached To
Mode
D21195: Don't add -Wno-class-memaccess with older gcc.
Attached
Detach File
Event Timeline
Log In to Comment