[Bug 265605] archivers/zstd: Add LTO option

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 03 Aug 2022 22:33:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265605

            Bug ID: 265605
           Summary: archivers/zstd: Add LTO option
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: diizzy@FreeBSD.org
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)
          Assignee: sunpoet@FreeBSD.org

Created attachment 235660
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=235660&action=edit
Patch for zstd

Add LTO option, this increases performance between 5-15% on my Intel i7-3770
(amd64) and Rockchip RK3399 (arm64) with O3 (Optimized Cflags) enabled.

LTO is also enabled by default on Alpine and OpenMandriva

Tested on FreeBSD 13.1-RELEASE

-- 
You are receiving this mail because:
You are the assignee for the bug.