Skip to content

Commit

Permalink
Add fPIE to libnx target since it's necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgfnet committed Feb 10, 2024
1 parent c2d9a72 commit 4caf7a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -201,7 +201,7 @@ else ifeq ($(platform), psl1ght)
else ifeq ($(platform), libnx)
include $(DEVKITPRO)/libnx/switch_rules
TARGET := $(TARGET_NAME)_libretro_$(platform).a
CFLAGS += -O3 -fomit-frame-pointer -ffast-math -I$(DEVKITPRO)/libnx/include/
CFLAGS += -O3 -fomit-frame-pointer -ffast-math -I$(DEVKITPRO)/libnx/include/ -fPIE
CFLAGS += -specs=$(DEVKITPRO)/libnx/switch.specs
CFLAGS += -D__SWITCH__ -DHAVE_LIBNX
CFLAGS += -DARM -D__aarch64__=1 -march=armv8-a -mtune=cortex-a57 -mtp=soft -ffast-math
Expand Down

1 comment on commit 4caf7a1

@andres0021
Copy link

@andres0021 andres0021 commented on 4caf7a1 Feb 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Friend, is there a possibility that you can repair gpsp hangs for PS2?

Please sign in to comment.