Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Sep 2004 12:58:28 -0700 (PDT)
From:      John Polstra <jdp@polstra.com>
To:        Charles Swiger <cswiger@mac.com>
Cc:        FreeBSD Ports <ports@freebsd.org>
Subject:   Re: Best way to override user's CFLAGS in a port?
Message-ID:  <XFMail.20040907125828.jdp@polstra.com>
In-Reply-To: <FEDC1A62-0106-11D9-A3E8-003065ABFD92@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 07-Sep-2004 Charles Swiger wrote:
> Users would prefer the software to build properly, so yes, doing 
> something to switch -Ox to plain -O is better than marking the port 
> BROKEN.
> 
> I don't think that changing a specific flag in a port which needs to do 
> so is unreasonable, but I dislike the notion of second-guessing the 
> end-user.  The whole point of preserving CFLAGS set in /etc/make.conf 
> or via the environment is to make it easy for people to build all of 
> the software using whatever flags they want.

Agreed, but some user preferences (for example, "-g") are more
important than others (such as optimization levels).

> Can we help you fix the issues with ezm3 when compiled with -O2, rather 
> than figuring ways to hack CFLAGS...?

In the long run, probably yes.  At the moment I'm just trying to
staunch the flow of bug reports for this thing.

John



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20040907125828.jdp>