How to determine type of system compiler in port?
Andrew W. Nosenko
andrew.w.nosenko at gmail.com
Tue Jan 21 23:34:01 UTC 2014
On Wed, Jan 22, 2014 at 12:45 AM, Lev Serebryakov <lev at 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 at gmail.com>
More information about the freebsd-ports
mailing list