[Bug 268077] games/libretro-beetle_psx: fix build on armv7

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

            Bug ID: 268077
           Summary: games/libretro-beetle_psx: fix build on armv7
           Product: Ports & Packages
           Version: Latest
          Hardware: arm
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: fuz@fuz.su
 Attachment #238443 maintainer-approval+
             Flags:
             Flags: merge-quarterly?

Created attachment 238443
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=238443&action=edit
games/libretro-beetle_psx: fix build on armv7

The functions __addsf3 and __adddf3 are part of libgcc which is not provided
when
compiling with clang.  Fiddle with some #if directives to provide shims if we
compile with clang.

Tested with Poudriere on armv7 arm64 FreeBSD 13.1.
Please MFH if possible.

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