diff --git a/fs/proc/Makefile b/fs/proc/Makefile index a8c13605b434..12c6922c913c 100644 --- a/fs/proc/Makefile +++ b/fs/proc/Makefile @@ -4,7 +4,7 @@ obj-y += proc.o -CFLAGS_task_mmu.o += -Wno-override-init +CFLAGS_task_mmu.o += $(call cc-option,-Wno-override-init,) proc-y := nommu.o task_nommu.o proc-$(CONFIG_MMU) := task_mmu.o