Date: Fri, 18 Oct 2002 08:13:10 +1300 From: Jonathan Chen <jonc@chen.org.nz> To: Nick Jennings <nkj@namodn.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: wierd errors when building ports Message-ID: <20021017191310.GA90361@grimoire.chen.org.nz> In-Reply-To: <20021017122716.F19014@namodn.com> References: <20021017122716.F19014@namodn.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 17, 2002 at 12:27:16PM -0700, Nick Jennings wrote: [...] > else is wrong here and these errors are not normal. Is my make.conf too > strict or something? I copied it from the examples, > (/usr/share/examples/etc/defaults/make.conf) and did *very* little in > customization... My CFLAGS looks like this: > > CFLAGS= -O -pipe -Wall -ansi > > What could be the problem here? Or is the compiler I'm using just not > like '//' used as comments? The -ansi is causing your problems. There shouldn't be any need to set the CFLAGS at all. The default flags for most ports includes -O and -pipe. -- Jonathan Chen <jonc@chen.org.nz> ---------------------------------------------------------------------- "Only the meek get pinched. The bold survive." - Ferris Bueller To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021017191310.GA90361>