]> git.pld-linux.org Git - packages/qemu.git/commitdiff
- add grsec_kernel bcond
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 16 Oct 2007 02:30:08 +0000 (02:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- make -j1 for common dir

Changed files:
    qemu.spec -> 1.85.2.15

qemu.spec

index 7f12c8882449a518b1765cd75ef5e73e9a557226..7b8af5ae507e01df09bbc4f6f2e262df7707550b 100644 (file)
--- a/qemu.spec
+++ b/qemu.spec
 %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
@@ -197,11 +203,11 @@ cd kqemu-%{_kqemu_version}
 %{__sed} -i 's#include ../config-host.mak##' ./common/Makefile
 %ifarch %{x8664}
 %{__sed} -i 's/^#ARCH=x86_64/ARCH=x86_64/' ./common/Makefile
-%{__make} -C common
+%{__make} -C common -j1
 mv -f kqemu-mod-x86_64.o{,.bin}
 %else
 %{__sed} -i 's/^#ARCH=i386/ARCH=i386/' ./common/Makefile
-%{__make} -C common
+%{__make} -C common -j1
 mv -f kqemu-mod-i386.o{,.bin}
 %endif
 
This page took 0.038205 seconds and 4 git commands to generate.