From 85ca1cce7469fc315ec095da6f2b0ed0c38faca7 Mon Sep 17 00:00:00 2001 From: nhmall Date: Sun, 17 May 2026 20:38:10 -0400 Subject: [PATCH] add #-EARLY section --- sys/unix/hints/linux.500 | 16 ++++++++++------ sys/unix/hints/macOS.500 | 26 +++++++++++++++++++------- 2 files changed, 29 insertions(+), 13 deletions(-) diff --git a/sys/unix/hints/linux.500 b/sys/unix/hints/linux.500 index d4b095e25..ea2517248 100755 --- a/sys/unix/hints/linux.500 +++ b/sys/unix/hints/linux.500 @@ -5,22 +5,26 @@ #--------------------------------------------------------------------- # Linux hints file with support for multiple window ports (interfaces) # Tested on: -# - Ubuntu focal +# - Ubuntu resolute raccoon # # If this doesn't work for your distribution, consider making a new # hints file for it, rather than changing this one. # And let us know about it. # +#-EARLY -#-PRE -# linux.500 hints file provides a single-user build for Linux (such -# as Ubuntu focal). +TARGETPFX= +HINTSVERSION := 500 -# note: '#-INCLUDE' is not just a comment +# note: '#-INCLUDE' is not just a comment, it inserts a +# file from sys/unix/hints/include. # multiw-1.500 contains sections 1 to 2 #-INCLUDE multiw-1.500 -HINTSVERSION := 500 +# sys/unix/Makefile.header will get inserted right here, +# ahead of the PRE section. + +#-PRE ifdef MAKEFILE_TOP ifeq ($(MAKELEVEL),0) diff --git a/sys/unix/hints/macOS.500 b/sys/unix/hints/macOS.500 index 93af6954d..fdefb69d5 100755 --- a/sys/unix/hints/macOS.500 +++ b/sys/unix/hints/macOS.500 @@ -5,23 +5,35 @@ #--------------------------------------------------------------------- # MacOS hints file with support for multiple window ports (interfaces) # Tested on: -# - MacOS Catalina 10.15 -# - MacOS Ventura 13 (Intel processor) +# - MacOS Catalina 10.15 (Intel processor) +# - MacOS Tahoe 26.5 (Intel processor) +# - MacOS Tahoe 26.5 (M ARM64 processor) # # If this doesn't work for some other version of macOS, consider # making a new hints file it, rather than changing this one. # And let us know about it. # Useful info: http://www.opensource.apple.com/darwinsource/index.html +# +#-EARLY + +TARGETPFX= +HINTSVERSION := 500 + +# note: '#-INCLUDE' is not just a comment, it inserts a +# file from sys/unix/hints/include. +# multiw-1.500 contains sections 1 to 2 +#-INCLUDE multiw-1.500 + +# sys/unix/Makefile.header will get inserted right here, +# ahead of the PRE section. + +#-PRE + #-PRE xxxx # macOS hints file # -# note: '#-INCLUDE' is not just a comment; multiw-1 contains sections 1 to 2 -#-INCLUDE multiw-1.500 - -HINTSVERSION := 500 - ifdef MAKEFILE_TOP ifeq ($(MAKELEVEL),0) PRECHECK+=checkmakefiles