Update Makefile

This commit is contained in:
Link4Electronics 2024-11-24 02:11:03 -03:00 committed by GitHub
parent 20bb444562
commit e447183245
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 1 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