Subject: Re: Problem with make and signal.h
To: None <current-users@netbsd.org>
From: Alan Barrett <apb@cequrux.com>
List: current-users
Date: 04/06/2003 18:17:10
On Sun, 06 Apr 2003, Manuel Bouyer wrote:
> You should use -E only if you really know what you're doing.
But many non-experts seem to use expert mode, and then complain when
they mess it up. Perhaps this patch would help?
--- build.sh 14 Mar 2003 05:22:50 -0000 1.95
+++ build.sh 6 Apr 2003 16:15:26 -0000
@@ -57,6 +57,9 @@
ERROR: $@
*** BUILD ABORTED ***
ERRORMESSAGE
+ if ${do_expertmode:-false} ; then
+ echo >&2 "*** You used expert mode (-E). Are you really an expert?"
+ fi
kill $toppid # in case we were invoked from a subshell
exit 1
}
@@ -266,7 +269,8 @@
-a arch Set MACHINE_ARCH to arch (otherwise deduced from MACHINE)
-B buildId Set BUILDID to buildId
-D dest Set DESTDIR to dest
- -E Set "expert" mode; disables some DESTDIR checks
+ -E Set "expert" mode; disables some DESTDIR checks.
+ Should not be used by non-experts.
-j njob Run up to njob jobs in parallel; see make(1)
-M obj Set obj root directory to obj (sets MAKEOBJDIRPREFIX)
-m mach Set MACHINE to mach (not required if NetBSD native)
--apb (Alan Barrett)