From 665d9308239decf528b47f9c75cf7e0211af0dcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=9A=93?= Date: Mon, 31 Mar 2025 23:05:59 -0400 Subject: [PATCH] Use `-Wl,--pic-veneer` instead of `-fno-optimize-sibling-calls` in Makefile.vita --- Makefile.vita | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.vita b/Makefile.vita index 9244f0d515..c036829ae5 100644 --- a/Makefile.vita +++ b/Makefile.vita @@ -138,7 +138,7 @@ ifeq ($(HAVE_VITAGLES), 1) ARCHFLAGS += -DSCE_LIBC_SIZE=$(SCE_LIBC_SIZE) endif -CFLAGS += $(ARCHFLAGS) -mword-relocations -fno-optimize-sibling-calls +CFLAGS += $(ARCHFLAGS) -mword-relocations ifeq ($(DEBUG), 1) CFLAGS += -g -Og @@ -147,7 +147,7 @@ else endif ASFLAGS := $(CFLAGS) -LDFLAGS := -Wl,-q +LDFLAGS := -Wl,-q,--pic-veneer CFLAGS += -Wall -ffast-math CFLAGS += -DRARCH_INTERNAL -DHAVE_SCREENSHOTS -DRARCH_CONSOLE