From 42e38692d2db1abc5e92ce3378f9dba083dbdc8f Mon Sep 17 00:00:00 2001 From: M4xw Date: Mon, 8 Jun 2020 12:47:15 +0200 Subject: [PATCH] [Libnx] Use -fcommon --- Makefile.libnx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.libnx b/Makefile.libnx index 7146809040..b126382b59 100644 --- a/Makefile.libnx +++ b/Makefile.libnx @@ -122,7 +122,7 @@ APP_ICON := pkg/libnx/retroarch.jpg #--------------------------------------------------------------------------------- ARCH := -march=armv8-a -mtune=cortex-a57 -mtp=soft -fPIE -mcpu=cortex-a57+crc+fp+simd -CFLAGS := -g -Wall -O3 -ffast-math -ffunction-sections \ +CFLAGS := -g -Wall -O3 -fcommon -ffast-math -ffunction-sections \ $(ARCH) $(DEFINES) $(INCLUDE_DIRS) -I$(LIBNX)/include -I$(PORTLIBS)/include/ -include $(LIBNX)/include/switch.h #$(shell $(PORTLIBS)/bin/freetype-config --cflags) CFLAGS += $(INCLUDE) -DSWITCH=1 -DHAVE_LIBNX=1 -DNXLINK=1 -DHAVE_SHADERPIPELINE -DHAVE_ONLINE_UPDATER -DHAVE_UPDATE_ASSETS -DHAVE_UPDATE_CORES -DHAVE_STB_FONT #-DHAVE_FREETYPE