Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2014 01:34:00 +0200
From:      "Andrew W. Nosenko" <andrew.w.nosenko@gmail.com>
To:        lev@freebsd.org
Cc:        FreeBSD Ports <ports@freebsd.org>
Subject:   Re: How to determine type of system compiler in port?
Message-ID:  <CALa-7vzTHrkDOwY8pEqKUx_GoZxi2hAb1oP303b03E04CX-QdQ@mail.gmail.com>
In-Reply-To: <1603752718.20140122024525@serebryakov.spb.ru>
References:  <1603752718.20140122024525@serebryakov.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 22, 2014 at 12:45 AM, Lev Serebryakov <lev@freebsd.org> wrote:

> Hello, Ports.
>
>   I want to turn off some clang-specific warnings via CFLAGS, as I'm not
> able to patch all places when "dirty" (but valid!) code is used and
> upstream
> software uses "-Werror"...
>

Using of a -Werror in a release build is an error by itself .
So patch is simple: sed 's/-Werror//g'

PS.  While the "patch" is a kind of joke, the statements that -Werror is
completely inapplicable to release builds is completely serious.

-- 
Andrew W. Nosenko <andrew.w.nosenko@gmail.com>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALa-7vzTHrkDOwY8pEqKUx_GoZxi2hAb1oP303b03E04CX-QdQ>