Re: setting CC/CXX/CPP unconditionally in src.conf

From: Ade Lovett <ade_at_FreeBSD.org>
Date: Tue, 28 Feb 2012 14:55:31 -0800
On 2/28/2012 14:11, Alexander Best wrote:
> any chance we can have a CFLAGS.gcc and CFLAGS.clang in the future? that would
> make certain things a lot easier. dealing with gcc specific options, such as
> -mpreferred-stack-boundary=2 would simply work by setting
> CFLAGS.gcc=-mpreferred-stack-boundary=2 e.g.

You already can:

CFLAGS.cc=      cc_cflags_here
CFLAGS.clang=   clang_cflags_here

CFLAGS+=        generic_cflags_here
CFLAGS+=        ${CFLAGS.${CC}}


-aDe
Received on Tue Feb 28 2012 - 22:11:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:24 UTC