From 971f86ea7e545b07772a6d246726595050929709 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Thu, 9 Jan 2025 11:19:01 +0100 Subject: [PATCH] .builds: work around iOS build failure Later versions of clang no longer accepts our ancient SDK root. Force it by supressing a warning. Signed-off-by: Elias Naur --- .builds/apple.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.builds/apple.yml b/.builds/apple.yml index 34a67503..c077f480 100644 --- a/.builds/apple.yml +++ b/.builds/apple.yml @@ -71,4 +71,4 @@ tasks: CC=$APPLE_TOOLCHAIN_ROOT/tools/clang-macos GOOS=darwin CGO_ENABLED=1 go build ./... - test_ios: | cd gio - CC=$APPLE_TOOLCHAIN_ROOT/tools/clang-ios GOOS=darwin GOARCH=arm64 CGO_ENABLED=1 go build -tags ios ./... + CGO_CFLAGS=-Wno-deprecated-module-dot-map CC=$APPLE_TOOLCHAIN_ROOT/tools/clang-ios GOOS=darwin GOARCH=arm64 CGO_ENABLED=1 go build -tags ios ./...