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
depends_on 'libxtrans'
def self.build
ENV['CFLAGS'] = "-fuse-ld=lld"
ENV['CXXFLAGS'] = "-fuse-ld=lld"
system "./configure #{CREW_OPTIONS}"
system "env CFLAGS="-fuse-ld=lld" \
CXXFLAGS="-fuse-ld=lld" \
./configure #{CREW_OPTIONS}"
system 'make'
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