This commit is contained in:
Link4Electronics 2024-12-17 15:53:10 -08:00 committed by GitHub
commit 2f34a93a35
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 13 additions and 2 deletions

View File

@ -674,7 +674,14 @@ else ifeq ($(HOST_OS),Haiku)
LDFLAGS := $(BACKEND_LDFLAGS) -no-pie
else
LDFLAGS := $(BITS) -march=$(TARGET_ARCH) -lm $(BACKEND_LDFLAGS) -lpthread -ldl
# ifneq (,$(findstring ppc64,$(machine)))
# LDFLAGS := $(BITS) -maltivec -lm $(BACKEND_LDFLAGS) -lpthread -ldl
# endif
# ifneq (,$(findstring powerpc,$(machine)))
# LDFLAGS := $(BITS) -maltivec -lm $(BACKEND_LDFLAGS) -lpthread -ldl
# endif
# LDFLAGS := $(BITS) -march=$(TARGET_ARCH) -lm $(BACKEND_LDFLAGS) -lpthread -ldl
LDFLAGS := $(BITS) -maltivec -lm $(BACKEND_LDFLAGS) -lpthread -ldl
ifeq ($(NO_PIE), 1)
LDFLAGS += -no-pie
endif

View File

@ -27,7 +27,11 @@ struct GdColour {
union DynUnion {
void *ptr;
char *str;
s32 word;
#if IS_BIG_ENDIAN && IS_64_BIT
s64 word;
#else
s32 word;
#endif
};
struct DynList {