diff options
| author | 2015-01-25 22:01:16 +0100 | |
|---|---|---|
| committer | 2015-01-25 22:01:16 +0100 | |
| commit | 36c9bba47db88ab3e42e422d26a35de3536d1d76 (patch) | |
| tree | dde7e916ec9b25871414394a1c89d76e3bc881a3 /makefile | |
| parent | da8810b1bcf8ffc65e13d3c8812466485622d83e (diff) | |
Solaris 11 build support. [Couriersud]
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -98,6 +98,10 @@ endif ifeq ($(firstword $(filter Haiku,$(UNAME))),Haiku) TARGETOS = haiku endif +ifeq ($(firstword $(filter SunOS,$(UNAME))),SunOS) +TARGETOS = solaris +SDL_LIBVER = sdl +endif ifndef TARGETOS $(error Unable to detect TARGETOS from uname -a: $(UNAME)) @@ -114,6 +118,11 @@ endif ifeq ($(firstword $(filter ppc64,$(UNAME))),ppc64) PTR64 = 1 endif +ifeq ($(TARGETOS), solaris) +ifeq ($(firstword $(filter amd64,$(shell /usr/bin/isainfo -k))),amd64) +PTR64 = 1 +endif +endif endif # Autodetect BIGENDIAN |
