[Devel] [PATCH] fs/fuse: fix debug build "CFLAGS was changed"

Pavel Butsykin pbutsykin at virtuozzo.com
Sat Jun 9 12:16:31 MSK 2018


build error:
Makefile.build:49: *** CFLAGS was changed in "./fs/fuse/Makefile". Fix it to use ccflags-y.  Stop.

See (Documentation/kbuild/makefiles.txt, section 3.7) for details.

---
 fs/fuse/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/fuse/Makefile b/fs/fuse/Makefile
index 54dfe9f64feb..3eb06648da2c 100644
--- a/fs/fuse/Makefile
+++ b/fs/fuse/Makefile
@@ -3,7 +3,7 @@
 #
 
 ifdef CONFIG_FUSE_KIO_DEBUG
-	CFLAGS := -O0
+	ccflags-y := -O0
 endif
 
 obj-$(CONFIG_FUSE_FS) += fuse.o
-- 
2.15.1



More information about the Devel mailing list