Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Sep 2010 22:45:42 -0400
From:      David Schultz <das@freebsd.org>
To:        David Xu <davidxu@freebsd.org>
Cc:        Marcel Moolenaar <xcllnt@mac.com>, freebsd-arch@freebsd.org
Subject:   Re: Per-source CFLAGS again
Message-ID:  <20100920024542.GA25717@zim.MIT.EDU>
In-Reply-To: <4C972E83.7090603@freebsd.org>
References:  <4C972E83.7090603@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
The reason I proposed the feature was so that we could compile the
parts of libc that come from a third party (namely, gdtoa) with
different warning flags than the rest of libc.  It was not
committed because someone else proposed a simpler way to get make
to use different flags for gdtoa.

I suppose it wouldn't hurt to commit it it's needed for something
else, but I think Marcel also had some philosophical objections to
the proposal.

On Mon, Sep 20, 2010, David Xu wrote:
> I found a topic about per-source CFLAGS,
> http://lists.freebsd.org/pipermail/freebsd-arch/2003-June/000906.html
> 
> and it seems the patch was never committed, why ?
> I feel it is useful because I want to compile those files which
> have cancellation points with compiler flag -fexceptions, for example,
> POSIX semaphore cancellation point in libc must be compiled with
> -fexceptions to support stack unwinding.
> 
> Regards,
> David Xu



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