I'll re-submit with better comments, and this variable is defined on Haiku, presumably for support for old Be OS applications, to indicate the architecture of the CPU. On my 64-bit system, it's value is "x86_64", 32-bit it's "x86".
În dum., 4 iul. 2021 la 09:51, Philippe Mathieu-Daudé <f4...@amsat.org> a scris: > On 7/4/21 12:00 PM, Philippe Mathieu-Daudé wrote: > > On 7/3/21 11:12 PM, Richard Zak wrote: > >> Fix for path to env > >> > >> Signed-off-by: Richard Zak <richard.j....@gmail.com > >> <mailto:richard.j....@gmail.com>> > >> --- > >> Makefile | 4 ++++ > >> 1 file changed, 4 insertions(+) > >> > >> diff --git a/Makefile b/Makefile > >> index 30f19d33bb..ced9b97372 100644 > >> --- a/Makefile > >> +++ b/Makefile > >> @@ -14,7 +14,11 @@ SRC_PATH=. > >> # we have explicit rules for everything > >> MAKEFLAGS += -rR > >> > >> +ifneq ($(BE_HOST_CPU),) > > > > Where is this variable defined and what is it for? > > IIUC it is defined by BeOS, and Haiku is based on it, > so also defines it. Is that correct? > -- Regards, Richard J. Zak Professional Genius PGP Key: https://keybase.io/rjzak/key.asc