From f5a4bd8c61bcc5bfea494c28db9fec53ab1f7c45 Mon Sep 17 00:00:00 2001 From: Benjamin FRANCOIS Date: Wed, 12 May 2021 21:48:28 +0000 Subject: Fix 32bit Haiku build --- Makefile.libretro | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'Makefile.libretro') diff --git a/Makefile.libretro b/Makefile.libretro index b48532d..3650a9b 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -29,6 +29,18 @@ else ifneq ($(findstring Darwin,$(UNAME)),) ABI := x86_64 target = libblastem.dylib libname = blastem_libretro.dylib +else ifneq ($(findstring Haiku,$(UNAME)),) + platform = haiku + OS :=Haiku +ifeq ($(UNAMEM),x86_64) + ABI :=x86_64 + CC ?=gcc +else + ABI :=i686 + CC :=gcc-x86 +endif + target = libblastem.so + libname = blastem_libretro.so else platform = linux OS :=Linux -- cgit v1.2.3