mirror of
https://github.com/simh/simh.git
synced 2026-03-03 18:16:24 +00:00
makefile: Explicitely fail on old Haiku or bad arch
- We require a current Haiku release (post alpha4). - We also don't support building with gcc2.
This commit is contained in:
6
makefile
6
makefile
@@ -216,6 +216,12 @@ ifeq ($(WIN32),) #*nix Environments (&& cygwin)
|
||||
else
|
||||
ifneq (,$(findstring Haiku,$(OSTYPE)))
|
||||
HAIKU_ARCH=$(shell getarch)
|
||||
ifeq ($(HAIKU_ARCH),)
|
||||
$(error Missing getarch command, your Haiku release is probably too old)
|
||||
endif
|
||||
ifeq ($(HAIKU_ARCH),x86_gcc2)
|
||||
$(error Unsupported arch x86_gcc2. Run setarch x86 and retry)
|
||||
endif
|
||||
INCPATH := $(shell findpaths -e -a $(HAIKU_ARCH) B_FIND_PATH_HEADERS_DIRECTORY)
|
||||
INCPATH += $(shell findpaths -e B_FIND_PATH_HEADERS_DIRECTORY posix)
|
||||
LIBPATH := $(shell findpaths -e -a $(HAIKU_ARCH) B_FIND_PATH_DEVELOP_LIB_DIRECTORY)
|
||||
|
||||
Reference in New Issue
Block a user