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