fs/fuse: fix debug build "CFLAGS was changed"

Submitted by Pavel Butsykin on June 9, 2018, 9:16 a.m.

Details

Message ID 20180609091631.22643-1-pbutsykin@virtuozzo.com
State New
Series "fs/fuse: fix debug build "CFLAGS was changed""
Headers show

Commit Message

Pavel Butsykin June 9, 2018, 9:16 a.m.
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(-)

Patch hide | download patch | download mbox

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