Skip to content

Commit

Permalink
Remove -march flag
Browse files Browse the repository at this point in the history
  • Loading branch information
danfortunato committed Feb 21, 2024
1 parent a247426 commit 5d8da56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/fmm3d.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def install
ln_s "make.inc.macosx.gnu", "make.inc" if OS.mac?

# Don't use -march=native when building a bottle
inreplace "makefile", "-march=native", "-march=#{Hardware.oldest_cpu}" if build.bottle?
inreplace "makefile", "-march=native", "" if build.bottle?

# Build libraries
system "make", "lib"
Expand Down

0 comments on commit 5d8da56

Please sign in to comment.