Commit 9e3b0302 authored by saltedcoffii's avatar saltedcoffii Committed by GitHub

Correct ENV (#5198)

* Correct ENV and add -flto

* Remove -flto
parent de9b4616
...@@ -28,9 +28,9 @@ class Libx11 < Package ...@@ -28,9 +28,9 @@ class Libx11 < Package
depends_on 'libxtrans' depends_on 'libxtrans'
def self.build def self.build
ENV['CFLAGS'] = "-fuse-ld=lld" system "env CFLAGS="-fuse-ld=lld" \
ENV['CXXFLAGS'] = "-fuse-ld=lld" CXXFLAGS="-fuse-ld=lld" \
system "./configure #{CREW_OPTIONS}" ./configure #{CREW_OPTIONS}"
system 'make' system 'make'
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment