bin/114082: [make.conf] default CFLAGS have a blank at the end

Andrew Pantyukhin infofarmer at FreeBSD.org
Thu Jul 5 06:00:17 UTC 2007


The following reply was made to PR bin/114082; it has been noted by GNATS.

From: "Andrew Pantyukhin" <infofarmer at FreeBSD.org>
To: bug-followup at FreeBSD.org, mi at 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.


More information about the freebsd-bugs mailing list