Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F103540567
D21195.id60627.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.id60627.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
Wed, Nov 27, 7:00 AM (16 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14880696
Default Alt Text
D21195.id60627.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