From 4116855924f72abd591740973b9ee9bbc136922d Mon Sep 17 00:00:00 2001 From: invertego Date: Thu, 7 Dec 2023 08:17:03 -0800 Subject: [PATCH] build: take care of some macOS build warnings (#1332) - remove -stdlib=libc++ as it caused warnings when applied to C files and has been the default on macOS for something like a decade - add -Wno-deprecated-declarations to the command line to silence warnings about things like sprintf in thirdparty --- nall/GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nall/GNUmakefile b/nall/GNUmakefile index bfc78a850e..7dd181dcc0 100644 --- a/nall/GNUmakefile +++ b/nall/GNUmakefile @@ -284,7 +284,7 @@ endif # macos settings ifeq ($(platform),macos) - flags += -stdlib=libc++ -mmacosx-version-min=10.9 -Wno-auto-var-id -fobjc-arc + flags += -mmacosx-version-min=10.9 -Wno-auto-var-id -Wno-deprecated-declarations -fobjc-arc options += -lc++ -lobjc -mmacosx-version-min=10.9 # allow mprotect() on dynamic recompiler code blocks options += -Wl,-segprot,__DATA,rwx,rw