Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jun 2004 01:31:06 +0200
From:      Roman Neuhauser <neuhauser@chello.cz>
To:        freebsd-ports <freebsd-ports@freebsd.org>
Subject:   respect CFLAGS: should I override optimizations?
Message-ID:  <20040531233106.GE85902@isis.wad.cz>

next in thread | raw e-mail | index | archive | help
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



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