diff --git a/Makefile b/Makefile index 759b58d779..87a9cb7838 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,9 @@ ifeq ($(PLATFORM),linux) ECHO = echo -e endif +SHELL := /bin/bash +.SHELLFLAGS := -eu -o pipefail -c + # Function to print status messages print_status = $(ECHO) "\033[34m--- $1\033[0m" @@ -82,5 +85,5 @@ build: $(BUILD_DIR)/retroarch $(BUILD_DIR)/retroarch_miyoo354 clean: @$(call print_status, Cleaning) - rm -rf $(BUILD_DIR) - rm -rf bin + rm -rf $(BUILD_DIR) || true + rm -rf bin || true diff --git a/patches/00001_initial_commit_by_eggs.patch b/patches/00001_initial_commit_by_eggs.patch index 61f1ab5b50..6460cad719 100644 --- a/patches/00001_initial_commit_by_eggs.patch +++ b/patches/00001_initial_commit_by_eggs.patch @@ -221,23 +221,31 @@ index 543fe5b630..4a0e4ffd78 100644 }; +#endif diff --git a/libretro-common/audio/conversion/float_to_s16.c b/libretro-common/audio/conversion/float_to_s16.c -index 770981d9c1..cbbd0908f7 100644 +index 5f2ab2405a..35f01e7dae 100644 --- a/libretro-common/audio/conversion/float_to_s16.c +++ b/libretro-common/audio/conversion/float_to_s16.c -@@ -32,12 +32,11 @@ +@@ -32,11 +32,10 @@ #include