From owner-freebsd-hackers Fri Jan 4 11:16:25 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from lurza.secnetix.de (lurza.secnetix.de [212.66.1.130]) by hub.freebsd.org (Postfix) with ESMTP id D2A4337B419 for <freebsd-hackers@FreeBSD.ORG>; Fri, 4 Jan 2002 11:16:19 -0800 (PST) Received: (from olli@localhost) by lurza.secnetix.de (8.11.6/8.11.6) id g04JGQ788744; Fri, 4 Jan 2002 20:16:26 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Date: Fri, 4 Jan 2002 20:16:26 +0100 (CET) Message-Id: <200201041916.g04JGQ788744@lurza.secnetix.de> From: Oliver Fromme <olli@secnetix.de> To: freebsd-hackers@FreeBSD.ORG Reply-To: freebsd-hackers@FreeBSD.ORG Subject: Re: Tell gcc I have a i686 In-Reply-To: <3C35F513.2F16AC08@math.missouri.edu> X-Newsgroups: list.freebsd-hackers User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.4-RELEASE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: <freebsd-hackers.FreeBSD.ORG> List-Archive: <http://docs.freebsd.org/mail/> (Web Archive) List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions) List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-hackers> List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-hackers> X-Loop: FreeBSD.ORG Stephen Montgomery-Smith <stephen@math.missouri.edu> wrote: > What I want is a makefile that automatically detects whether it is on an > i686 or not (not for me to tell it so). In general, that's not a good idea, IMO. It should be up to the user to decide which optimizations he wants and which not, and we do have /etc/make.conf and CFLAGS for exactly that purpose. I always hate super-clever makefiles and configure scripts that strip -O from my CFLAGS and insert -O6 -march=i686 or other unwanted things. It's a PITA. Just my 0.02 Euro. Regards Oliver -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "All that we see or seem is just a dream within a dream" (E. A. Poe) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message