From: books at ejurka.com (Kris Jurka) Date: Fri, 31 Aug 2007 17:36:11 -0400 (EDT) Subject: [Pljava-dev] Building from source for PG 8.2.4 In-Reply-To: References: <46D79E76.1020005@goldencode.com> <46D87059.6080905@goldencode.com> <46D87EEE.7060704@goldencode.com> Message-ID: On Fri, 31 Aug 2007, Kris Jurka wrote: > OK, I'll commit this fix and similar for i586 to CVS later today. Done. >> The only question I have left: is there a way to partially override the >> compiler options divined from pg_config, so I can turn off -g but >> inherit the rest? >> > > Putting this after "override CFLAGS += $(PLJAVA_CFLAGS)" approx line 140 > might work: > > CFLAGS := $(filter-out -g, $(CFLAGS)) > A quick test shows you need to say "override CFLAGS := $(filter-out -g, $(CFLAGS))" Kris Jurka