Skip to content

Commit

Permalink
Update sunshine.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher committed Jan 4, 2025
1 parent aee6cb2 commit 381e7e3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packaging/sunshine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ def install
ENV["BUILD_VERSION"] = "@BUILD_VERSION@"
ENV["COMMIT"] = "@GITHUB_COMMIT@"

# Remove Homebrew optimization flags
ENV.delete "O0"
ENV.delete "O1"
ENV.delete "O2"
ENV.delete "O3"
ENV.remove "CXXFLAGS", "-DNDEBUG"

args = %W[
-DBUILD_WERROR=ON
-DCMAKE_INSTALL_PREFIX=#{prefix}
Expand Down

0 comments on commit 381e7e3

Please sign in to comment.