> -----Original Message-----
> From: Tom Lane [mailto:[EMAIL PROTECTED] 
> Sent: 11 December 2003 15:31
> To: Dave Page
> Cc: [EMAIL PROTECTED]
> Subject: Re: [HACKERS] 7.4 build problem on Linux Vserver 
> 
> "Dave Page" <[EMAIL PROTECTED]> writes:
> > gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes 
> > -Wmissing-declarations prod -I../../src/include -D_GNU_SOURCE 
> > -I/usr/include  -c -o path.o path.c
> > gcc: cannot specify -o with -c or -S and multiple compilations
> 
> How is "prod" getting into that command line?  I suspect it's 
> coming from an environment variable like PROFILE or CFLAGS ...

Aha - the vserver code uses a var called PROFILE which is set to prod
(meaning production). Unsetting has allowed the compile to run as
normal.

Thanks Tom.

Regards, Dave.

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to