]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
SELinux Makefile can't work in parallel
authorBoris Ranto <branto@redhat.com>
Sat, 25 Jul 2015 12:05:43 +0000 (14:05 +0200)
committerBoris Ranto <branto@redhat.com>
Wed, 5 Aug 2015 13:21:47 +0000 (15:21 +0200)
We need to force single-core compilation of SELinux policy files in the
sub-make target as SELinux Makefile does not work properly when run in
parallel mode.

Signed-off-by: Boris Ranto <branto@redhat.com>
selinux/Makefile.am

index dbfb63c81de088ef0c9464141d2d5efd39d33adf..280e7ecd4be6d56361af3250ca0598ed750e3778 100644 (file)
@@ -6,7 +6,7 @@ EXTRA_DIST = \
 SELINUXROOT = $(DESTDIR)$(datadir)/selinux
 
 ceph.pp: ceph.te ceph.fc ceph.if
-       $(MAKE) -f $(datadir)/selinux/devel/Makefile ceph.pp
+       $(MAKE) -j1 -f $(datadir)/selinux/devel/Makefile ceph.pp
 
 if ENABLE_SERVER
 if WITH_SELINUX