[pacman-dev] LTO and PGO build options

Que Quotion quequotion at gmail.com
Fri Mar 18 19:28:33 UTC 2016

The section @@ -48,7 +48,7 @@ above is probably unnecessary; I
misunderstood the purpose of that line.

Also, some changes to makepkg.conf to fit with the changes to makepkg:

--- /etc/makepkg.conf 2016-01-09 02:34:08.007565594 +0900
+++ ./makepkg.conf.qq 2016-03-19 04:19:46.655963264 +0900
@@ -110,6 +110,8 @@
 #-- purge:      Remove files specified by PURGE_TARGETS
 #-- upx:        Compress binary executable files using UPX
 #-- debug:      Add debugging flags as specified in DEBUG_* variables
+#-- lto:        Use link-time optimization to reduce compiled binary size
and possibly improve performance
+#-- pgo:        Generate or use profile guided optimization to reduce
compile binary size and improve performance
 OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge upx !debug)

@@ -142,6 +144,8 @@
 #-- Source packages: specify a fixed directory where all src packages will
be placed
+#-- Profile cache: specify a fixed directory where profiles will be stored
 #-- Log files: specify a fixed directory where all log files will be placed
 #-- Packager: name/email of the person or organization building packages

More information about the pacman-dev mailing list