%ifarch x86_64
--enable-static-pie \
--enable-cet \
-## --enable-multi-arch \
%endif
--disable-werror \
--disable-profile \
--disable-crypt
make %{?_smp_mflags}
+cd ..
+make %{?_smp_mflags} -C build html
%check
+%if %{build_testsuite}
export TIMEOUTFACTOR=16
# The testsuite does its own malloc checking
unset MALLOC_CHECK_
-make %{?_smp_mflags} check || {
+make %{?_smp_mflags} -C build -k check || {
cd build
o=$-
set +x
# Fail build if there where compilation errors during testsuite run
test -f tests.sum
}
-
-%install
-# Install base glibc
-make %{?_smp_mflags} install_root=%{buildroot} install -C build
+%else
+make %{?_smp_mflags} -C build check-abi
+%endif