From 6905bfd4648bccbde709bfc40cc17ed186f83611 Mon Sep 17 00:00:00 2001 From: kub Date: Sun, 29 Dec 2024 11:25:53 +0100 Subject: [PATCH] libretro, fix arch detection --- Makefile.libretro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.libretro b/Makefile.libretro index 578b10e8..c6b98a61 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -644,7 +644,7 @@ SHARED ?= -shared LDFLAGS += $(SHARED) $(fpic) ifeq ($(ARCH),) -ARCH = $(shell $(CC) -dumpmachine | awk -F '-' '{print $$1}') +ARCH = $(shell $(CC) $(CFLAGS) -dumpmachine | awk -F '-' '{print $$1}') endif PLATFORM = libretro NO_CONFIG_MAK = yes -- 2.39.5