From owner-freebsd-alpha Sat May 4 14:33:36 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 01E6D37B405; Sat, 4 May 2002 14:33:29 -0700 (PDT) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id RAA02754; Sat, 4 May 2002 17:33:29 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g44LWxO65630; Sat, 4 May 2002 17:32:59 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15572.21387.13228.195616@grasshopper.cs.duke.edu> Date: Sat, 4 May 2002 17:32:59 -0400 (EDT) To: obrien@FreeBSD.ORG Cc: freebsd-alpha@FreeBSD.ORG Subject: Re: Fixed: Re: da0: invalid primary partition table: no magic In-Reply-To: <20020503081742.A75225@dragon.nuxi.com> References: <20020502085524.GH25554@Area51.DK> <15569.14826.398617.237309@grasshopper.cs.duke.edu> <20020502131427.GO25554@Area51.DK> <15569.15879.864537.597011@grasshopper.cs.duke.edu> <20020503062241.GS25554@Area51.DK> <15570.34140.54422.560183@grasshopper.cs.duke.edu> <20020503081742.A75225@dragon.nuxi.com> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org That causes configure to crap out complaining because -O -pipe isn't a valid arg. At least for kde3, the O2's are hard-coded in the damned configure scripts. Drew David O'Brien writes: > On Fri, May 03, 2002 at 08:41:00AM -0400, Andrew Gallatin wrote: > > libtool problem caused by our compiler whining at -O2 during the > > configure stage. I'll try another stab at it this weekend... > > Someone should commit a patch to /usr/ports/bsd.port.mk so that configure > will be run with our favorate CFLAGS setting. I am not sure if we want > to pass the full CFLAGS to `configure', or just set it to "-O -pipe". > > > > Index: bsd.port.mk > =================================================================== > RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v > retrieving revision 1.411 > diff -u -r1.411 bsd.port.mk > --- bsd.port.mk 27 Apr 2002 11:22:59 -0000 1.411 > +++ bsd.port.mk 3 May 2002 15:15:58 -0000 > @@ -1663,6 +1668,7 @@ > > .if defined(GNU_CONFIGURE) > CONFIGURE_ARGS+= --prefix=${PREFIX} ${CONFIGURE_TARGET} > +CONFIGURE_ARGS+= CFLAGS=${CFLAGS} > HAS_CONFIGURE= yes > .endif > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message