From owner-freebsd-ports@FreeBSD.ORG Mon Feb 7 20:03:06 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 1AC32106566B for ; Mon, 7 Feb 2011 20:03:06 +0000 (UTC) (envelope-from cyrille.lefevre-lists@laposte.net) Received: from out4.laposte.net (out3.laposte.net [193.251.214.120]) by mx1.freebsd.org (Postfix) with ESMTP id CE8368FC1B for ; Mon, 7 Feb 2011 20:03:05 +0000 (UTC) Received: from out3.laposte.net (unknown [10.98.50.223]) by mwinf8310.laposte.net (SMTP Server) with ESMTP id 649271C006DA for ; Mon, 7 Feb 2011 20:32:04 +0100 (CET) Received: from meplus.info (localhost [127.0.0.1]) by mwinf8317.laposte.net (SMTP Server) with ESMTP id 8B530E0000BE for ; Mon, 7 Feb 2011 20:32:02 +0100 (CET) Received: from [192.168.1.133] (229.212.74-86.rev.gaoland.net [86.74.212.229]) by mwinf8317.laposte.net (SMTP Server) with ESMTP id 45430E0000A0 for ; Mon, 7 Feb 2011 20:32:02 +0100 (CET) X-ME-UUID: 20110207193202283.45430E0000A0@mwinf8317.laposte.net Message-ID: <4D5048B5.4060000@laposte.net> Date: Mon, 07 Feb 2011 20:32:05 +0100 From: Cyrille Lefevre Organization: ACME User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.3) Gecko/20070326 Thunderbird/2.0.0.0 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <4D502D22.3000200@yandex.ru> In-Reply-To: <4D502D22.3000200@yandex.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-me-spamlevel: not-spam X-me-spamrating: 40.000000 X-me-spamcause: OK, (0)(0000)gggruggvucftvghtrhhoucdtuddrfeduvddrudduucetggdotefuucfrrhhofhhilhgvmecuoehnohhnvgeqnecuuegrihhlohhuthemuceftddtnecu 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 20:03:06 -0000 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