This is the mail archive of the mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Supplying $BUILD through export'ed variable

Hi Dan!

To make as standalone as possible, I'd like to ask you to
accept this patch. It makes to only call config.guess iff
$BUILD wasn't supplied by it's caller:

---	2004-05-26 23:19:20.000000000 +0200
+++	2004-05-26 23:19:54.000000000 +0200
@@ -62,7 +62,9 @@
 # Get description of the build machine from autotools, but since old
 # autotools (e.g. the one in gcc-2.95) barfs if you're on an x86_64,
 # use our own copy
+if test -z "${BUILD}"; then
+	BUILD=`$TOP_DIR/config.guess`
 if test "$GCC_HOST" != ""; then
 	# Modify $BUILD so gcc never, ever thinks $build = $host


   Jan-Benedict Glaw    . +49-172-7608481
   "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg
    fuer einen Freien Staat voll Freier Bürger" | im Internet! |   im Irak!
   ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));

Attachment: signature.asc
Description: Digital signature

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]