BUILD: Reject GNU Make 3.80 and older
GNU Make 3.80 is the default version on macOS Tiger, and it shouldn't be used because it has various parsing problems and bugs. The .FEATURES variable was added in GNU Make 3.81, and that's the easiest and most reliable way of detecting this version. We know that GNU Make 3.81 is OK since that's still what Apple ships by default on modern macOS (because of GPLv3).
This commit is contained in:
parent
3d82857b79
commit
4c90e20b8d
1 changed files with 5 additions and 0 deletions
5
Makefile
5
Makefile
|
@ -1,3 +1,8 @@
|
|||
# GNU Make 3.80 and older have bugs that cause parsing issues.
|
||||
# Make sure we have at least version 3.81.
|
||||
ifndef .FEATURES
|
||||
$(error GNU Make 3.81 or higher is required)
|
||||
endif
|
||||
|
||||
#######################################################################
|
||||
# Default compilation parameters. Normally don't edit these #
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue