Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jul 2007 06:00:16 GMT
From:      "Andrew Pantyukhin" <infofarmer@FreeBSD.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/114082: [make.conf] default CFLAGS have a blank at the end
Message-ID:  <200707050600.l6560G18039181@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/114082; it has been noted by GNATS.

From: "Andrew Pantyukhin" <infofarmer@FreeBSD.org>
To: bug-followup@FreeBSD.org, mi@aldan.algebra.com
Cc:  
Subject: Re: bin/114082: [make.conf] default CFLAGS have a blank at the end
Date: Thu, 5 Jul 2007 09:59:48 +0400

 So instead of trying to fix this, can we ask why
 this is a problem at all?
 
 We never enforce the absence of extra whitespace
 in CFLAGS (and almost in any other variable).
 Cases like "+=" definitions without a preceding
 "=" definition can easily cause this.
 
 Also, having extra blanks before, after or in
 between flags is valid for almost every
 application I have seen. AFAIK, this very issue
 comes from an autoconf idiosyncrasy to match
 CFLAGS in a broken way and spill out some cache-
 related errors.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707050600.l6560G18039181>