Merge pull request #486 from mmuman/haiku-nightly

Haiku port
This commit is contained in:
fgsfds 2021-11-14 18:13:50 +03:00 committed by GitHub
commit 697a0b06e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -640,6 +640,9 @@ else ifeq ($(TARGET_RPI),1)
else ifeq ($(OSX_BUILD),1)
LDFLAGS := -lm $(BACKEND_LDFLAGS) -no-pie -lpthread
else ifeq ($(HOST_OS),Haiku)
LDFLAGS := $(BACKEND_LDFLAGS) -no-pie
else
LDFLAGS := $(BITS) -march=$(TARGET_ARCH) -lm $(BACKEND_LDFLAGS) -lpthread -ldl
ifeq ($(NO_PIE), 1)

View File

@ -5,7 +5,7 @@
// old bstring functions that aren't present on some platforms
#if defined(__APPLE__)
#if defined(__APPLE__) || defined(__HAIKU__)
// macOS libc has them
#include <strings.h>