You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-emulation/mupen64plus-ui-console/files/mupen64plus-ui-console-2.5....

33 lines
986 B

--- a/projects/unix/Makefile
+++ b/projects/unix/Makefile
@@ -94,7 +94,7 @@
ifeq ($(ARCH_DETECTED), 64BITS)
CFLAGS += -pipe -arch x86_64 -mmacosx-version-min=10.6 -isysroot $(OSX_SDK_PATH)
else
- CFLAGS += -pipe -mmmx -msse -fomit-frame-pointer -arch i686 -mmacosx-version-min=10.6 -isysroot $(OSX_SDK_PATH)
+ CFLAGS += -pipe -arch i686 -mmacosx-version-min=10.6 -isysroot $(OSX_SDK_PATH)
endif
endif
endif
@@ -172,20 +172,6 @@
COMPILE.c = $(Q_CC)$(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c
LINK.o = $(Q_LD)$(CC) $(CFLAGS) $(LDFLAGS) $(TARGET_ARCH)
-ifeq ($(PIE), 1)
- CFLAGS += -fPIE
- LDFLAGS += -pie
-else
- CFLAGS += -fno-PIE
- ifeq ($(CC),$(CROSS_COMPILE)gcc)
- # check if PIE is the default for the compiler
- PIE_DEFAULT = $(shell $(CC) -v 2>&1 | grep enable-default-pie)
- ifneq ($(PIE_DEFAULT),)
- LDFLAGS += -no-pie
- endif
- endif
-endif
-
# set installation options
ifeq ($(PREFIX),)
PREFIX := /usr/local