Document that make's .POSIX: handling is broken. In fact, it has been

broken ever since it was added in November 1996.
This commit is contained in:
cperciva 2015-12-25 10:08:42 +00:00
parent e576ab0310
commit 7b9847ba48

View File

@ -69,6 +69,10 @@ __ENV_ONLY_OPTIONS:= \
#
# The rules below use this macro to distinguish between Posix-compliant
# and default behaviour.
#
# This functionality is currently broken, since make(1) processes sys.mk
# before reading any other files, and consequently has no opportunity to
# set the %POSIX macro before we read this point.
.if defined(%POSIX)
.SUFFIXES: .o .c .y .l .a .sh .f