@brikler
You're right. I'll try to make that change soon. 'auto' hasn't been around long; I hadn't gotten the memo.
@blackout
Are you referring to this? It is indeed possible to specify makepkg-optimize's options in /etc/makepkg.conf
, but I recommended using the provided /etc/makepkg-optimize.conf
and specifying the config file to when building (--config /etc/makepkg-optimize.conf
). I do this so that running makepkg
or makechrootpkg
(without any flags) on a PKGBUILD
makes "standard" (unoptimized) packages. It's less hassle than editing makepkg.conf
for every build (not all packages work with all optimizations and sometimes I need a 'clean' build for comparison).
By the way, it makes my day every time I see a new name in these comments! Good to know people are actually using makepkg-optimize!
Pinned Comments
quequotion commented on 2019-02-27 07:49 (UTC) (edited on 2022-01-09 13:20 (UTC) by quequotion)
makepkg-optimize is a collection of libmakepkg tidy, buildenv, and executable extensions, and a supplement to pacman. These enable various optimization routines for building and packaging such as upx compression, profile guided optimization, polyhedral model optimization, etc..
Note: Over-optimization is a thing, and it is not good.
See the wiki article for details.
Note to packagers: makepkg-optmize's macros may be enabled or disabled in options() as well!