Skip to content

Commit

Permalink
blast: fix MacOS references.
Browse files Browse the repository at this point in the history
Needed after Homebrew/brew#16306.
  • Loading branch information
MikeMcQuaid committed Dec 13, 2023
1 parent d9554c0 commit ec1db89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/b/blast.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def install

if OS.mac?
# Allow SSE4.2 on some platforms. The --with-bin-release sets --without-sse42
args << "--with-sse42" if Hardware::CPU.intel? && MacOS.version.requires_sse42?
args << "--with-sse42" if Hardware::CPU.intel? && OS.mac? && MacOS.version.requires_sse42?
args += ["OPENMP_FLAGS=-Xpreprocessor -fopenmp",
"LDFLAGS=-lomp"]
end
Expand Down

0 comments on commit ec1db89

Please sign in to comment.