From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <475EED72.3090607@manicmethod.com> Date: Tue, 11 Dec 2007 15:05:06 -0500 From: Joshua Brindle MIME-Version: 1.0 To: SE Linux CC: Stephen Smalley Subject: [PATCH] [STABLE] Makefile change to disable restorecond Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov This patch is necessary to build stable on RHEL4. CLIP uses the current stable toolchain and supports RHEL4 as a target so we are trying to upstream any magic that is necessary to build on that platform. Index: trunk/policycoreutils/Makefile =================================================================== --- trunk/policycoreutils/Makefile (revision 2696) +++ trunk/policycoreutils/Makefile (working copy) @@ -1,5 +1,9 @@ -SUBDIRS=setfiles semanage load_policy newrole run_init restorecond secon audit2allow audit2why scripts sestatus semodule_package semodule semodule_link semodule_expand semodule_deps setsebool po +SUBDIRS = setfiles semanage load_policy newrole run_init secon audit2allow audit2why scripts sestatus semodule_package semodule semodule_link semodule_expand semodule_deps setsebool po +ifndef NO_INOTIFY + SUBDIRS += restorecond +endif + all install relabel clean indent: @for subdir in $(SUBDIRS); do \ (cd $$subdir && $(MAKE) $@) || exit 1; \ Index: trunk/Makefile =================================================================== --- trunk/Makefile (revision 2696) +++ trunk/Makefile (working copy) @@ -1,6 +1,8 @@ SUBDIRS=libsepol libselinux libsemanage sepolgen checkpolicy policycoreutils # policy PYSUBDIRS=libselinux libsemanage +export NO_INOTIFY + ifeq ($(DEBUG),1) export CFLAGS = -g3 -O0 -gdwarf-2 -fno-strict-aliasing -Wall -Wshadow export LDFLAGS = -g -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.