Commit fac2e84c authored by satmandu's avatar satmandu Committed by GitHub

Add flto to packages to be built (#5259)

* Add flto
parent 96af53ba
......@@ -20,7 +20,9 @@ class Libgdiplus < Package
depends_on 'imake' => :build
def self.build
system "./configure #{CREW_OPTIONS} \
system "CFLAGS='-flto=auto' CXXFLAGS='-flto=auto'
LDFLAGS='-flto=auto' \
./configure #{CREW_OPTIONS} \
--with-libexif \
--with-libtiff \
--with-jpeg \
......
......@@ -17,7 +17,9 @@ class Libwebp < Package
def self.build
system "env NOCONFIGURE=1 ./autogen.sh"
system "./configure #{CREW_OPTIONS} \
system "CFLAGS='-flto=auto' CXXFLAGS='-flto=auto'
LDFLAGS='-flto=auto' \
./configure #{CREW_OPTIONS} \
--enable-libwebpmux \
--enable-libwebpdemux \
--enable-libwebpdecoder \
......
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