]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r367063:
authorBrooks Davis <brooks@FreeBSD.org>
Tue, 3 Nov 2020 23:26:26 +0000 (23:26 +0000)
committerBrooks Davis <brooks@FreeBSD.org>
Tue, 3 Nov 2020 23:26:26 +0000 (23:26 +0000)
commit375725f1f6eda37f5570cae86f2c8f1f310a1359
treeccf907e90ac6ffa789cc154e830ad186284d17e2
parent7d1eb99a6a6da0ac8f8e6f97691ae1ee1269bb27
MFC r367063:

Key decleration of union semun on src version

__FreeBSD__ is defined by the compiler derived from the triple.  When
building FreeBSD 11 on a FreeBSD 12 with a CROSS_TOOLCHAIN=llvm10,
__FreeBSD__ was set to 12 when building lib32 (for some reason no triple
is being passed which seems to mean that we're taking default values
from the build system).  This in turn meant we end up with a double
decleration of union semun which is a build error.

Reviewed by: gshapiro, dim
Differential Revision: https://reviews.freebsd.org/D26902
contrib/sendmail/include/sm/os/sm_os_freebsd.h