Date: Fri, 31 Jul 2015 20:24:24 +0200
From: Martin Husemann <[email protected]>
Index: Makefile
===================================================================
RCS file: /cvsroot/src/tests/lib/libc/sys/Makefile,v
retrieving revision 1.39
diff -u -r1.39 Makefile
--- Makefile 22 Jun 2015 00:05:23 -0000 1.39
+++ Makefile 31 Jul 2015 18:22:48 -0000
@@ -38,7 +38,6 @@
...
+t_mprotect: t_mprotect_nopax
+ ${TOOL_PAXCTL} +M t_mprotect
+ cp t_mprotect t_mprotect_nopax
No comment on the original issue, but -- in addition to fixing the
obvious order of arguments mistake here -- please write makefile rules
to be robust against interruption:
cp t_mprotect_nopax t_mprotect.tmp && mv -f t_mprotect.tmp t_mprotect
That way if the power goes out in the middle of cp, your objdir is not
corrupted and make can pick up where it left off.