From owner-freebsd-questions@FreeBSD.ORG Sat Jan 24 21:50:07 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB4521065673 for ; Sat, 24 Jan 2009 21:50:07 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ew0-f21.google.com (mail-ew0-f21.google.com [209.85.219.21]) by mx1.freebsd.org (Postfix) with ESMTP id 449388FC12 for ; Sat, 24 Jan 2009 21:50:07 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by ewy14 with SMTP id 14so173992ewy.19 for ; Sat, 24 Jan 2009 13:50:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=+q39rPPwtj7iEm8/wzfhFo90W8Mh/Q1LsYK0rOCf4rM=; b=FcqbtgKN+RW3VT+QVbHFvd73BspbVUXgiljBykCRopM5FHsr0DCW1tF6uuw0BgiQIe /7eDXkTqPtINVAlPskVDgJXT+o+GsNYa/Fzbj+nH93WWjlY+xCkbeUFxe9RPECCE0v0U 6DDI+k8yiOqz29KK8xUw8gEc2litcnkgRlHi4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=knN9v+R4lrnjHquNRWHLTmQJPVHyCm6r993q3t92/+j3O4qAZDhqO10uBjcHGNnYPW VKLxjttUK2Nx7npUUX/mYooK2pJZcOaJQsAxrihDQco27v8NbBZop8CmlSgTXGcvF/mr 73EtEyog3sUVwd95qf7Wo0ZBHToCP0eStFCHA= Received: by 10.210.61.8 with SMTP id j8mr3017693eba.45.1232833806404; Sat, 24 Jan 2009 13:50:06 -0800 (PST) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id b33sm20177482ika.3.2009.01.24.13.50.04 (version=SSLv3 cipher=RC4-MD5); Sat, 24 Jan 2009 13:50:05 -0800 (PST) Date: Sat, 24 Jan 2009 21:50:02 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20090124215002.6a0bf24e@gumby.homeunix.com> In-Reply-To: <497B764C.4080109@pp.dyndns.biz> References: <20090124124535.3006687c@gumby.homeunix.com> <9a52b1190901240451i14dc544fm1c241d6f43fa897b@mail.gmail.com> <20090124131629.1f9fabe4@gumby.homeunix.com> <497B2536.7030907@pp.dyndns.biz> <20090124174357.4aafcf1a@gumby.homeunix.com> <497B5686.8050600@pp.dyndns.biz> <9a52b1190901241107h5bff8c1al6c980b7ad8e99051@mail.gmail.com> <497B764C.4080109@pp.dyndns.biz> X-Mailer: Claws Mail 3.7.0 (GTK+ 2.14.7; i386-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: default CFLAGS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jan 2009 21:50:08 -0000 On Sat, 24 Jan 2009 21:13:00 +0100 Morgan Wesstr=F6m wrote: > gcc 4.2 and later will figure out the correct -march and -mtune for > you automatically if you use CPUTYPE=3Dnative.=20 The point I was making before, is that CPUTYPE isn't just passed transparently to gcc, it's used for setting other variables, such as CFLAGS. So unless you know that CPUTYPE=3Dnative is supported by the OS as well as the compiler, you probably shouldn't use it in make.conf.