in usr.bin and usr.sbin on the install media) must be re-compiled non-PIE
(here, in the special directory) so that crunchgen can reuse them. This
issue is most acute on i386, which has register pressure, and does weird
things for PIE.
thanks for matthew for helping figure this out.
-# $OpenBSD: Makefile,v 1.25 2012/08/21 08:12:47 pascal Exp $
+# $OpenBSD: Makefile,v 1.26 2014/01/06 22:28:45 deraadt Exp $
SUBDIR= libstubs \
- date dd dhclient dmesg ed ftp grep gzip ifconfig init \
+ arch date dd dhclient dmesg ed ftp grep gzip ifconfig init \
kbd less more mt newfs ping restore sed sha256 sysctl
install:
--- /dev/null
+# $OpenBSD: Makefile,v 1.1 2014/01/06 22:28:50 deraadt Exp $
+
+PROG= arch
+
+.PATH: ${.CURDIR}/../../../usr.bin/arch
+
+.include <bsd.prog.mk>