path: root/sbin/dumpon/Makefile.depend
diff options
authorStefan Eßer <se@FreeBSD.org>2021-12-07 19:29:26 +0000
committerStefan Eßer <se@FreeBSD.org>2021-12-07 19:29:26 +0000
commit22c4ab6cb015dc99eb82504e5fd957662cded3c3 (patch)
treedeccdc7dfb4903b2995e546670c2fe43eee1d87e /sbin/dumpon/Makefile.depend
parent74e014dbfab5d64acb3376ba77d5d61c4abf27d5 (diff)
sys/_bitset.h: Fix fall-out from commit 5e04571cf3cHEADmain
There is a reference to malloc() in #define __BITSET_ALLOC. Even though this macro is only defined but not used, it causes the lang/gcc ports to fail. The gcc ports "poison" a number of functions including malloc() and prevent their use (including in macro definitions). This commit moved the declaration of __BITSET_ALLOC into the conditional block that depends on _KERNEL or _WANT_FREEBSD_BITSET being defined. There is no use of __BITSET_ALLOC in the FreeBSD sources, and userland programs that want to use BITSEC_ALLOC will define _WANT_FREEBSD_BITSET anyway. This patch has been tested by building lang/gcc11 and a successful make buildworld. This commit shall be MFCed together with commit 5e04571cf3c. MFC after: 1 month
Diffstat (limited to 'sbin/dumpon/Makefile.depend')
0 files changed, 0 insertions, 0 deletions