From owner-freebsd-ports@FreeBSD.ORG Mon May 31 16:31:31 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC8FD16A4CE for ; Mon, 31 May 2004 16:31:31 -0700 (PDT) Received: from smtp.dkm.cz (smtp.dkm.cz [62.24.64.34]) by mx1.FreeBSD.org (Postfix) with SMTP id CB02643D1D for ; Mon, 31 May 2004 16:31:30 -0700 (PDT) (envelope-from neuhauser@chello.cz) Received: (qmail 84837 invoked by uid 0); 31 May 2004 23:31:06 -0000 Received: from r3al16.mistral.cz (HELO isis.wad.cz) (213.220.229.16) by smtp.dkm.cz with SMTP; 31 May 2004 23:31:06 -0000 Received: by isis.wad.cz (Postfix, from userid 1001) id 463452FDA01; Tue, 1 Jun 2004 01:31:06 +0200 (CEST) Date: Tue, 1 Jun 2004 01:31:06 +0200 From: Roman Neuhauser To: freebsd-ports Message-ID: <20040531233106.GE85902@isis.wad.cz> Mail-Followup-To: freebsd-ports Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6i Subject: respect CFLAGS: should I override optimizations? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2004 23:31:32 -0000 I'm updating biology/migrate, the upstream Makefile.in includes CFLAGS = @CFLAGS@ ... and configure says: case "$GCC" in yes) CFLAGS="-O3 -Wall -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -D$CPUTYPE" ;; If I was to take Porter's Hang^Hdbook literally, I would change the set (=) to append (+=) and be done with it, but is that really what I'm expected to do? Or should I filter out the -O3 on the assumption that optimization levels are make.conf's business? -- If you cc me or remove the list(s) completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html