Update terminalimageviewer.rb
style
This commit is contained in:
parent
224c2d1e30
commit
bf4937d9f8
1 changed files with 3 additions and 4 deletions
|
@ -11,7 +11,7 @@ class Terminalimageviewer < Formula
|
||||||
cd "src/main/cpp" do
|
cd "src/main/cpp" do
|
||||||
system "make"
|
system "make"
|
||||||
if OS.mac?
|
if OS.mac?
|
||||||
# No expermimental/filesystem.h on mac.
|
# No expermimental/filesystem.h on mac.
|
||||||
system "/usr/local/bin/g++-#{Formula["gcc"].version_suffix}", "-std=c++17",
|
system "/usr/local/bin/g++-#{Formula["gcc"].version_suffix}", "-std=c++17",
|
||||||
"-Wall",
|
"-Wall",
|
||||||
"-fpermissive",
|
"-fpermissive",
|
||||||
|
@ -19,9 +19,8 @@ class Terminalimageviewer < Formula
|
||||||
"-O2", "-c",
|
"-O2", "-c",
|
||||||
"-L/usr/local/opt/gcc/lib/gcc/11/",
|
"-L/usr/local/opt/gcc/lib/gcc/11/",
|
||||||
"tiv.cpp", "-o", "tiv.o"
|
"tiv.cpp", "-o", "tiv.o"
|
||||||
system "/usr/local/bin/g++-#{Formula["gcc"].version_suffix}", "tiv.o", "-o",
|
system "/usr/local/bin/g++-#{Formula["gcc"].version_suffix}", "tiv.o", "-o", "tiv",
|
||||||
"tiv", "-L/usr/local/opt/gcc/lib/gcc/11/",
|
"-L/usr/local/opt/gcc/lib/gcc/11/", "-pthread", "-s"
|
||||||
"-pthread", "-s"
|
|
||||||
else
|
else
|
||||||
system "make"
|
system "make"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue