svn commit: r350455 - projects/fuse2/tests/sys/fs/fusefs
Alan Somers
asomers at FreeBSD.org
Tue Jul 30 19:47:46 UTC 2019
Author: asomers
Date: Tue Jul 30 19:47:45 2019
New Revision: 350455
URL: https://svnweb.freebsd.org/changeset/base/350455
Log:
fusefs: fix building tests with GCC 8
GCC 8 objected to including C++-only flags in CWARNFLAGS
Sponsored by: The FreeBSD Foundation
Modified:
projects/fuse2/tests/sys/fs/fusefs/Makefile
Modified: projects/fuse2/tests/sys/fs/fusefs/Makefile
==============================================================================
--- projects/fuse2/tests/sys/fs/fusefs/Makefile Tue Jul 30 19:42:46 2019 (r350454)
+++ projects/fuse2/tests/sys/fs/fusefs/Makefile Tue Jul 30 19:47:45 2019 (r350455)
@@ -65,7 +65,7 @@ TEST_METADATA+= timeout=10
FUSEFS= ${SRCTOP}/sys/fs/fuse
MOUNT= ${SRCTOP}/sbin/mount
# Suppress warnings that GCC generates for the libc++ and gtest headers.
-CWARNFLAGS.gcc+= -Wno-placement-new -Wno-attributes -Wno-class-memaccess
+CXXWARNFLAGS.gcc+= -Wno-placement-new -Wno-attributes -Wno-class-memaccess
CXXFLAGS+= -I${SRCTOP}/tests
CXXFLAGS+= -I${FUSEFS}
CXXFLAGS+= -I${MOUNT}
More information about the svn-src-projects
mailing list