- make -j1 for common dir
Changed files:
qemu.spec -> 1.85.2.15
%bcond_without up # don't build up module
%bcond_without smp # don't build SMP module
%bcond_without userspace # don't build userspace utilities
%bcond_without up # don't build up module
%bcond_without smp # don't build SMP module
%bcond_without userspace # don't build userspace utilities
+%bcond_with grsec_kernel # build for kernel-grsecurity
+#
+%if %{with kernel} && %{with dist_kernel} && %{with grsec_kernel}
+%define alt_kernel grsecurity
+%endif
+#
#
# no kernel kqemu module for ppc
%ifarch ppc
#
# no kernel kqemu module for ppc
%ifarch ppc
%{__sed} -i 's#include ../config-host.mak##' ./common/Makefile
%ifarch %{x8664}
%{__sed} -i 's/^#ARCH=x86_64/ARCH=x86_64/' ./common/Makefile
%{__sed} -i 's#include ../config-host.mak##' ./common/Makefile
%ifarch %{x8664}
%{__sed} -i 's/^#ARCH=x86_64/ARCH=x86_64/' ./common/Makefile
mv -f kqemu-mod-x86_64.o{,.bin}
%else
%{__sed} -i 's/^#ARCH=i386/ARCH=i386/' ./common/Makefile
mv -f kqemu-mod-x86_64.o{,.bin}
%else
%{__sed} -i 's/^#ARCH=i386/ARCH=i386/' ./common/Makefile
mv -f kqemu-mod-i386.o{,.bin}
%endif
mv -f kqemu-mod-i386.o{,.bin}
%endif