Skip to content

Commit cbf9a42

Browse files
committed
libselinux is also broken by time64 for arc
This probably is fixed upstream already as SELinuxProject/selinux#464 uses __INO_T_MATCHES_INO64_T, which should correctly evaluate on glibc architectures whereas the Debian package has a local patch covering x32 only. So this is producing a misbuild for arc as it adds compatibility that is not needed as arc never had 32bit time_t.
1 parent b3e2261 commit cbf9a42

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bootstrap.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2790,6 +2790,8 @@ patch_libselinux() {
27902790
export DEB_CFLAGS_MAINT_APPEND = -fno-semantic-interposition
27912791
## The build system doesn't use CPPFLAGS, pass them to CFLAGS to enable the
27922792
EOF
2793+
fi
2794+
if dpkg-architecture "-a$HOST_ARCH" -imusl-any-any || dpkg-architecture "-a$HOST_ARCH" -iany-arc; then
27932795
echo "work around time64 abi duality build failure https://github.com/SELinuxProject/selinux/issues/476"
27942796
drop_privs sed -i -e '/^static_assert.*__ino_t/d' src/matchpathcon.c
27952797
fi

0 commit comments

Comments
 (0)