Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -673,6 +673,9 @@ else ifeq ($(OSX_BUILD),1)
else ifeq ($(HOST_OS),Haiku)
LDFLAGS := $(BACKEND_LDFLAGS) -no-pie

else ifeq (,$(findstring powerpc,$(machine)))
LDFLAGS := $(BITS) -mcpu=$(TARGET_ARCH) -lm $(BACKEND_LDFLAGS) -lpthread -ldl

else
LDFLAGS := $(BITS) -march=$(TARGET_ARCH) -lm $(BACKEND_LDFLAGS) -lpthread -ldl
ifeq ($(NO_PIE), 1)
Expand Down
4 changes: 4 additions & 0 deletions src/goddard/gd_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ struct GdColour {
union DynUnion {
void *ptr;
char *str;
#if IS_BIG_ENDIAN && IS_64_BIT
s64 word;
#else
s32 word;
#endif
};

struct DynList {
Expand Down