From 808368b57732591a1a358137f93d5f975c0354b3 Mon Sep 17 00:00:00 2001 From: M4xw Date: Sun, 30 Sep 2018 02:31:38 +0200 Subject: [PATCH] [LIBNX] Fix dummy core --- Makefile.libnx | 1 - dist-scripts/dist-cores.sh | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.libnx b/Makefile.libnx index e6b53a9c45..e6f1875b86 100644 --- a/Makefile.libnx +++ b/Makefile.libnx @@ -115,7 +115,6 @@ CFLAGS := -g -Wall -O3 -ffast-math -ffunction-sections \ CFLAGS += $(INCLUDE) -DSWITCH=1 -DHAVE_LIBNX=1 -DNXLINK=1 -DHAVE_SHADERPIPELINE -DHAVE_UPDATE_ASSETS -DHAVE_FREETYPE ifeq ($(strip $(HAVE_STATIC_DUMMY)),1) - HAVE_STATIC_DUMMY = 1 CFLAGS += -DHAVE_STATIC_DUMMY=1 endif diff --git a/dist-scripts/dist-cores.sh b/dist-scripts/dist-cores.sh index 19cfee87c8..bb0c8cb1c7 100755 --- a/dist-scripts/dist-cores.sh +++ b/dist-scripts/dist-cores.sh @@ -164,6 +164,7 @@ if [ $PLATFORM = "libnx" ]; then mkdir -p ../pkg/${platform}/switch make -C ../ -f Makefile.${platform} HAVE_STATIC_DUMMY=1 -j3 || exit 1 mv -f ../retroarch_switch.nro ../pkg/${platform}/switch/retroarch_switch.nro + make -C ../ -f Makefile.${platform} clean || exit 1 fi #for f in *_${platform}.${EXT} ; do