diff -r 3f3653ab7af8 make/linux/makefiles/launcher.make --- a/make/linux/makefiles/launcher.make Fri Dec 03 19:44:29 2010 -0800 +++ b/make/linux/makefiles/launcher.make Sat Dec 11 16:07:57 2010 -0800 @@ -73,4 +73,15 @@ $(LINK_LAUNCHER) $(LFLAGS_LAUNCHER) -o $@ $(LAUNCHER.o) $(LIBS_LAUNCHER); \ $(LINK_LAUNCHER/POST_HOOK) \ [ -f $(LAUNCHER_G) ] || { ln -s $@ $(LAUNCHER_G); }; \ + if [ \"$(CROSS_COMPILE_ARCH)\" = \"\" ] ; then \ + if [ -x /usr/sbin/selinuxenabled ] ; then \ + /usr/sbin/selinuxenabled; \ + if [ $$? = 0 ] ; then \ + /usr/bin/chcon -t execmem_exec_t $@; \ + if [ $$? != 0 ]; then \ + echo "ERROR: Cannot chcon $@"; \ + fi \ + fi \ + fi \ + fi \ }