Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Sep 2012 16:55:29 +0200
From:      Dimitry Andric <dimitry@andric.com>
To:        Norbert Aschendorff <norbert.aschendorff@yahoo.de>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Building FreeBSD-STABLE
Message-ID:  <50670BE1.2000506@andric.com>
In-Reply-To: <5066CD86.1020900@yahoo.de>
References:  <5066CD86.1020900@yahoo.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2012-09-29 16:16, Norbert Aschendorff wrote:
...
> src.conf does not exist here, and make.conf contains this:
>
> # added by use.perl 2012-08-23 17:45:18
> PERL_VERSION=5.14.2
>
> CFLAGS=-pipe
> #CC=clang
> #CC=gcc
> CXXFLAGS=-pipe
> #CXX=clang++
> #CXX=g++

There is your problem.  Never assign to CFLAGS or CXXFLAGS using the =
operator, always add to them, using the += operator instead.

Also, you don't need to duplicate flags in CXXFLAGS, which are already
in CFLAGS.  You should only add C++ specific flags to CXXFLAGS.

Last but not least, -pipe is completely unnecessary, it is already the
default.



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