Date: Tue, 08 Feb 2011 00:28:08 +0300 From: Ruslan Mahmatkhanov <cvs-src@yandex.ru> To: Cyrille Lefevre <cyrille.lefevre-lists@laposte.net> Cc: freebsd-ports@freebsd.org Subject: Re: How to not use OPTIMIZED_FLAGS properly Message-ID: <4D5063E8.2040000@yandex.ru> In-Reply-To: <4D506386.5030706@yandex.ru> References: <4D502D22.3000200@yandex.ru> <4D5048B5.4060000@laposte.net> <4D506386.5030706@yandex.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
08.02.2011 00:26, Ruslan Mahmatkhanov пишет: > 07.02.2011 22:32, Cyrille Lefevre пишет: >> >> Le 07/02/2011 18:34, Ruslan Mahmatkhanov a écrit : >>> >>> Hello. >>> >>> I'm working on port that doesn't builds with "-O2 -pipe", that passed to >>> Makefile by default (it exits with message about virtual memory is >>> exhausted). I can avoid this by setting CFLAGS="" and CXXFLAGS="" in >>> CONFIGURE_ENV. But portlint is complaining like this: >>> >>> What is the right way to do the job? >> >> >> how about CFLAGS := ${CFLAGS:N-O*:N-pipe} -O >> >> Regards, >> >> Cyrille Lefevre > > It says that "Variable CFLAGS is recursive." Sorry, it's actually fine. I forget a colon. -- Regards, Ruslan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D5063E8.2040000>