[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ${CC} respect in ports

On Wednesday, July 17, 2002, at 06:52 , Jean-Yves Burlett wrote:
Are there guidelines for this somewhere ?

Ports should never hardcode CC or use "cc" or "gcc" directly. Instead, they should honour ${CC} (or ${CXX} for c++). Newer ports that use autoconf are, for most parts OK. That's the older ports (that don't use autoconf), or ones that uses a wierd build system that are at risk (for example, qt3 doesn't honor ${CC} and ${CXX}).


// david lebel <lebel_(_at_)_{lebel_(_dot_)_org,nobiaze.com,openbsd.org}> //
// http://www.lebel.org/           http://www.nobiaze.com/ //
// pgp: 3633 6999 D47E 73ED 099F  4341 08A4 8E48 EF56 61D1 //