[Bug 286975] Assembly files do not respect SHARED_CFLAGS

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 21 May 2025 14:02:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286975

            Bug ID: 286975
           Summary: Assembly files do not respect SHARED_CFLAGS
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: dapeng.gao@cl.cam.ac.uk

In `share/mk/bsd.suffixes-extra.mk`, C/C++ files are built with both
SHARED_CFLAGS and CFLAGS, but assembly files only receive CFLAGS.

Note that `lib/libc/sys/Makefile.inc` uses `SHARED_CFLAGS` to prevent system
call code from being generated within libc, but due to this bug, the code is
still being generated.

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