Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 May 1999 04:13:59 -0700 (PDT)
From:      asami@freebsd.org (Satoshi - Ports Wraith - Asami)
To:        naddy@mips.rhein-neckar.de
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Build variables to respect besides CFLAGS?
Message-ID:  <199905041113.EAA62766@silvia.hip.berkeley.edu>
In-Reply-To: <7ghq91$anf$1@mips.rhein-neckar.de> (naddy@mips.rhein-neckar.de)
References:  <7gansn$g6f$1@mips.rhein-neckar.de> <7ghq91$anf$1@mips.rhein-neckar.de>

next in thread | previous in thread | raw e-mail | index | archive | help
 * From: naddy@mips.rhein-neckar.de (Christian Weisgerber)

 * CC=     echo "Compiling"; gcc
 * CFLAGS= ... concatenation of a zillion other variables ...

You can patch these to read like

CC?=     echo "Compiling"; gcc
CFLAGS+= ... concatenation of a zillion other variables, minus -O* and -g* ...

The CC line will be overridden if the user cares to, and the user's
CFLAGS will be appended to whatever the program wants.

-PW


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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