diff --git a/Makefile.inc1 b/Makefile.inc1 index d7c98f8329f..dfed06a2691 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -458,7 +458,8 @@ SUBDIR+=etc .endif # !empty(SUBDIR_OVERRIDE) .if defined(NOCLEAN) -.error NOCLEAN option is deprecated. Use NO_CLEAN instead. +.warning NOCLEAN option is deprecated. Use NO_CLEAN instead. +NO_CLEAN= ${NOCLEAN} .endif .if defined(NO_CLEANDIR) CLEANDIR= clean cleandepend