mirror of https://github.com/sm64pc/sm64pc.git
Merge 4e0f616547
into d7ca2c0436
This commit is contained in:
commit
2f34a93a35
9
Makefile
9
Makefile
|
@ -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
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue