bin/114082: default CFLAGS have a blank at the end
Mikhail T.
mi at aldan.algebra.com
Wed Jun 27 20:30:03 UTC 2007
>Number: 114082
>Category: bin
>Synopsis: default CFLAGS have a blank at the end
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Jun 27 20:30:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Mikhail T.
>Release: FreeBSD 6.2-STABLE amd64
>Organization:
Virtual Estates, Inc.
>Environment:
System: FreeBSD aldan.algebra.com 6.2-STABLE FreeBSD 6.2-STABLE #1: Thu Jun 7 22:11:33 EDT 2007 mi at aldan.algebra.com:/meow/obj/var/src/sys/SILVER-SMP amd64
>Description:
When the CFLAGS are not altered by /etc/make.conf (such as
by setting the CPUTYPE) or by local Makefile(s), the default
value contains a blank space at the end: "-O2 -fno-strict-aliasing
-pipe ".
Not sure, whether this is a problem with the make code or with
the /usr/share/mk/*, but I'm afraid, it is the former.
It is known to be reproducible in 7.x as well as 6.2.
>How-To-Repeat:
Run make with the following simple two-line makefile:
echo:
# >${CFLAGS}<
Note the extra space before the closing ``<'':
# >-O2 -fno-strict-aliasing -pipe <
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list