mirror of
https://github.com/sm64pc/sm64pc.git
synced 2025-04-12 00:05:59 +02:00
commit
697a0b06e6
3
Makefile
3
Makefile
@ -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)
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user