[Bug 258348] devel/clxclient: Don't override ports framework optimization

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 07 Sep 2021 20:10:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258348

            Bug ID: 258348
           Summary: devel/clxclient: Don't override ports framework
                    optimization
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: yuri@freebsd.org
          Reporter: diizzy@FreeBSD.org
          Assignee: yuri@freebsd.org
             Flags: maintainer-feedback?(yuri@freebsd.org)

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

Don't set -O2 or -march=native as this will clash with optimization handled by
ports framework and -march=native isn't valid on several non x86 platforms
causing build failures.

Compile tested on FreeBSD 13.0-STABLE #0 stable/13-n246453-06887e06864-dirty
(arm64) (make, make check-plist)

Reference:
https://portsfallout.com/fallout?port=devel%2Fclxclient$

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