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
de6048d6
Commit
de6048d6
authored
Feb 20, 2021
by
satmandu
Committed by
GitHub
Feb 20, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Switch to using meson b_lto option (#5197)
parent
f3fc1252
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lib/const.rb
lib/const.rb
+2
-2
No files found.
lib/const.rb
View file @
de6048d6
# Defines common constants used in different parts of crew
CREW_VERSION
=
'1.7.
5
'
CREW_VERSION
=
'1.7.
6
'
ARCH_ACTUAL
=
`uname -m`
.
strip
# This helps with virtualized builds on aarch64 machines
...
...
@@ -69,7 +69,7 @@ end
CREW_OPTIONS
=
"--prefix=
#{
CREW_PREFIX
}
--libdir=
#{
CREW_LIB_PREFIX
}
--mandir=
#{
CREW_MAN_PREFIX
}
--build=
#{
CREW_BUILD
}
--host=
#{
CREW_BUILD
}
--target=
#{
CREW_BUILD
}
"
CREW_MESON_OPTIONS
=
"-Dprefix=
#{
CREW_PREFIX
}
-Dlibdir=
#{
CREW_LIB_PREFIX
}
-Dmandir=
#{
CREW_MAN_PREFIX
}
-Dbuildtype=release -Dc_args='-fuse-ld=lld -pipe' -Dcpp_args='-fuse-ld=lld -pipe'"
CREW_MESON_LTO_OPTIONS
=
"-Dprefix=
#{
CREW_PREFIX
}
-Dlibdir=
#{
CREW_LIB_PREFIX
}
-Dmandir=
#{
CREW_MAN_PREFIX
}
-Dbuildtype=release
-Dcpp_args='-flto -fuse-ld=gold -pipe' -Dcpp_link_args='-flto' -Dc_args='-flto -fuse-ld=gold -pipe' -Dc_link_args='-flto
'"
CREW_MESON_LTO_OPTIONS
=
"-Dprefix=
#{
CREW_PREFIX
}
-Dlibdir=
#{
CREW_LIB_PREFIX
}
-Dmandir=
#{
CREW_MAN_PREFIX
}
-Dbuildtype=release
-Db_lto=true -Dcpp_args='-fuse-ld=gold -pipe' -Dc_args='-fuse-ld=gold -pipe
'"
# Cmake sometimes wants to use LIB_SUFFIX to install libs in LIB64, so specify such for x86_64
# This is often considered deprecated. See discussio at https://gitlab.kitware.com/cmake/cmake/-/issues/18640
...
...
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