mirror of
https://github.com/AloUltraExt/sm64ex-alo.git
synced 2025-01-23 16:15:36 -05:00
Haiku port (sm64pc/sm64ex#486)
This commit is contained in:
parent
4e49a42dfc
commit
27bdb616ed
2 changed files with 4 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -1157,6 +1157,9 @@ else ifeq ($(TARGET_ANDROID),1)
|
||||||
else ifeq ($(OSX_BUILD),1)
|
else ifeq ($(OSX_BUILD),1)
|
||||||
LDFLAGS := -lm $(BACKEND_LDFLAGS) -no-pie -lpthread
|
LDFLAGS := -lm $(BACKEND_LDFLAGS) -no-pie -lpthread
|
||||||
|
|
||||||
|
else ifeq ($(HOST_OS),Haiku)
|
||||||
|
LDFLAGS := $(BACKEND_LDFLAGS) -no-pie
|
||||||
|
|
||||||
else
|
else
|
||||||
LDFLAGS := $(BITS) -march=$(TARGET_ARCH) -lm $(BACKEND_LDFLAGS) -lpthread -ldl
|
LDFLAGS := $(BITS) -march=$(TARGET_ARCH) -lm $(BACKEND_LDFLAGS) -lpthread -ldl
|
||||||
ifeq ($(NO_PIE), 1)
|
ifeq ($(NO_PIE), 1)
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
// old bstring functions that aren't present on some platforms
|
// old bstring functions that aren't present on some platforms
|
||||||
|
|
||||||
#if defined(__APPLE__) || defined(__ANDROID__)
|
#if defined(__APPLE__) || defined(__ANDROID__) || defined(__HAIKU__)
|
||||||
|
|
||||||
// macOS libc has them
|
// macOS libc has them
|
||||||
#include <strings.h>
|
#include <strings.h>
|
||||||
|
|
Loading…
Add table
Reference in a new issue