Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Feb 2011 20:32:05 +0100
From:      Cyrille Lefevre <cyrille.lefevre-lists@laposte.net>
To:        freebsd-ports@freebsd.org
Subject:   Re: How to not use OPTIMIZED_FLAGS properly
Message-ID:  <4D5048B5.4060000@laposte.net>
In-Reply-To: <4D502D22.3000200@yandex.ru>
References:  <4D502D22.3000200@yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

Le 07/02/2011 18:34, Ruslan Mahmatkhanov a =C3=A9crit :
>
> Hello.
>
> I'm working on port that doesn't builds with "-O2 -pipe", that passed t=
o
> Makefile by default (it exits with message about virtual memory is
> exhausted). I can avoid this by setting CFLAGS=3D"" and CXXFLAGS=3D"" i=
n
> CONFIGURE_ENV. But portlint is complaining like this:
>
> What is the right way to do the job?


how about CFLAGS :=3D ${CFLAGS:N-O*:N-pipe} -O

Regards,

Cyrille Lefevre
--=20
mailto:Cyrille.Lefevre-lists@laposte.net





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