Re: traling whitespace in CFLAGS if make.conf:CPUTYPE is not defined/empty

2010-09-16 Thread Alexander Best
On Thu Sep 16 10, John Baldwin wrote: > On Wednesday, September 15, 2010 9:01:20 pm Alexander Best wrote: > > hi there, > > > > after discovering PR #114082 i noticed that with CPUTYPE not being defined > > in > > make.conf, `make -VCFLAGS` reports a trailing whitespace for CFLAGS. > > the reason

Re: traling whitespace in CFLAGS if make.conf:CPUTYPE is not defined/empty

2010-09-16 Thread John Baldwin
On Wednesday, September 15, 2010 9:01:20 pm Alexander Best wrote: > hi there, > > after discovering PR #114082 i noticed that with CPUTYPE not being defined in > make.conf, `make -VCFLAGS` reports a trailing whitespace for CFLAGS. > the reason for this is that ${_CPUCFLAGS} gets added to CFLAGS ev

traling whitespace in CFLAGS if make.conf:CPUTYPE is not defined/empty

2010-09-15 Thread Alexander Best
hi there, after discovering PR #114082 i noticed that with CPUTYPE not being defined in make.conf, `make -VCFLAGS` reports a trailing whitespace for CFLAGS. the reason for this is that ${_CPUCFLAGS} gets added to CFLAGS even if it's empty. the following patch should take care of the problem. i al