Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
fac2e84c
Commit
fac2e84c
authored
Feb 23, 2021
by
satmandu
Committed by
GitHub
Feb 23, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add flto to packages to be built (#5259)
* Add flto
parent
96af53ba
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
16 deletions
+20
-16
packages/libgdiplus.rb
packages/libgdiplus.rb
+8
-6
packages/libwebp.rb
packages/libwebp.rb
+12
-10
No files found.
packages/libgdiplus.rb
View file @
fac2e84c
...
@@ -20,7 +20,9 @@ class Libgdiplus < Package
...
@@ -20,7 +20,9 @@ class Libgdiplus < Package
depends_on
'imake'
=>
:build
depends_on
'imake'
=>
:build
def
self
.
build
def
self
.
build
system
"./configure
#{
CREW_OPTIONS
}
\
system
"CFLAGS='-flto=auto' CXXFLAGS='-flto=auto'
LDFLAGS='-flto=auto' \
./configure
#{
CREW_OPTIONS
}
\
--with-libexif \
--with-libexif \
--with-libtiff \
--with-libtiff \
--with-jpeg \
--with-jpeg \
...
...
packages/libwebp.rb
View file @
fac2e84c
...
@@ -17,7 +17,9 @@ class Libwebp < Package
...
@@ -17,7 +17,9 @@ class Libwebp < Package
def
self
.
build
def
self
.
build
system
"env NOCONFIGURE=1 ./autogen.sh"
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-libwebpmux \
--enable-libwebpdemux \
--enable-libwebpdemux \
--enable-libwebpdecoder \
--enable-libwebpdecoder \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment