From 9e3928c97647a78d8307d64ab14c93623ee365c2 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Sun, 9 Feb 2025 21:45:05 -0500 Subject: [PATCH] build: Some clangs are more strict about this. quickjs is not. --- GNUmakefile | 3 ++- deps/ios_toolchain | 1 + deps/macos_toolchain | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) create mode 120000 deps/ios_toolchain create mode 120000 deps/macos_toolchain diff --git a/GNUmakefile b/GNUmakefile index b94ab2c6..0fd8a39e 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -81,8 +81,9 @@ CFLAGS += \ -std=gnu11 \ -Wall \ -Wextra \ - -Wno-unused-parameter \ + -Wno-cast-function-type-mismatch \ -Wno-unknown-warning-option \ + -Wno-unused-parameter \ -MMD \ -MP \ -ffunction-sections \ diff --git a/deps/ios_toolchain b/deps/ios_toolchain new file mode 120000 index 00000000..5141505b --- /dev/null +++ b/deps/ios_toolchain @@ -0,0 +1 @@ +/opt/deps/ios_toolchain/ \ No newline at end of file diff --git a/deps/macos_toolchain b/deps/macos_toolchain new file mode 120000 index 00000000..b56fb2b0 --- /dev/null +++ b/deps/macos_toolchain @@ -0,0 +1 @@ +/opt/deps/macos_toolchain/ \ No newline at end of file