Skip to content

Commit 85e340a

Browse files
authored
Merge pull request #196859 from Homebrew/nzbget-workaround
nzbget: workaround for Xcode 16
2 parents 2f8d54e + dfc4a13 commit 85e340a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Formula/n/nzbget.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ class Nzbget < Formula
2626
uses_from_macos "zlib"
2727

2828
def install
29+
# Workaround to fix build on Xcode 16. This was just ignored on older Xcode so no functional impact
30+
# Issue ref: https://github.com/nzbgetcom/nzbget/issues/421
31+
if DevelopmentTools.clang_build_version >= 1600
32+
inreplace "lib/sources.cmake", 'set(NEON_CXXFLAGS "-mfpu=neon")', ""
33+
end
34+
2935
system "cmake", "-S", ".", "-B", "build", *std_cmake_args
3036
system "cmake", "--build", "build"
3137

0 commit comments

Comments
 (0)