[Bug 268079] devel/lightning: fix build on armv6/armv7

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 30 Nov 2022 12:09:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268079

            Bug ID: 268079
           Summary: devel/lightning: fix build on armv6/armv7
           Product: Ports & Packages
           Version: Latest
          Hardware: arm
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bofh@freebsd.org
          Reporter: fuz@fuz.su
                CC: bofh@freebsd.org
          Assignee: bofh@freebsd.org
             Flags: maintainer-feedback?(bofh@freebsd.org)
 Attachment #238447 maintainer-approval?(bofh@freebsd.org)
             Flags:
             Flags: merge-quarterly?
                CC: bofh@freebsd.org

Created attachment 238447
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=238447&action=edit
devel/lightning: fix build on armv6/armv7

Fix the problem that made the build fail with LLVM.  However,
compiling with LLVM still leads to test suite failures on ARM
so we compile with gcc instead.  The patch for LLVM is left
in for if a future version of the library fixes the problem.

Also fix the way the C compiler executable is patched in.

Please MFH if possible.
Tested with Poudriere on armv7 arm64 FreeBSD 13.1.
The test suite passes.

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