From owner-freebsd-ports@FreeBSD.ORG Mon Feb 7 21:27:45 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3077106566B for ; Mon, 7 Feb 2011 21:27:45 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward14.mail.yandex.net (forward14.mail.yandex.net [95.108.130.92]) by mx1.freebsd.org (Postfix) with ESMTP id 933DA8FC17 for ; Mon, 7 Feb 2011 21:27:45 +0000 (UTC) Received: from smtp11.mail.yandex.net (smtp11.mail.yandex.net [95.108.130.67]) by forward14.mail.yandex.net (Yandex) with ESMTP id 2ECD330D08E4; Tue, 8 Feb 2011 00:27:44 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1297114064; bh=27cW9E3lUubjh+8b68N8WLXxW4HuPAjhM9WfRzPKK10=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=aWbNM51exj5MEdGyKx0N7GcMpU1+SWr45Bcl8DBpWnsBEPcasHRNx7n7vjB1rQ3Xr llsr0B3FzS33e9Jq/bw6rEz0u/8foxzRE5/wtY4dUl2vvjMKjcifq/SPQEqd1w6T99 gr7GWJxdJJ3JSndA/ptIZBb3wXmp/YWuz17zkBuc= Received: from smeshariki2.local (unknown [178.76.212.172]) by smtp11.mail.yandex.net (Yandex) with ESMTPSA id E56054CC00B2; Tue, 8 Feb 2011 00:27:43 +0300 (MSK) Message-ID: <4D506386.5030706@yandex.ru> Date: Tue, 08 Feb 2011 00:26:30 +0300 From: Ruslan Mahmatkhanov User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; ru-RU; rv:1.9.2.13) Gecko/20110106 Thunderbird/3.1.7 MIME-Version: 1.0 To: Cyrille Lefevre References: <4D502D22.3000200@yandex.ru> <4D5048B5.4060000@laposte.net> In-Reply-To: <4D5048B5.4060000@laposte.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-ports@freebsd.org Subject: Re: How to not use OPTIMIZED_FLAGS properly X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Feb 2011 21:27:46 -0000 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." -- Regards, Ruslan