From: Tom Lane Date: Sat, 19 Feb 2000 19:02:20 +0000 (+0000) Subject: plperl's makefile tried to use perl's choice of compiler with X-Git-Tag: REL9_0_0~23925 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=63746a90c137576be424e049bc83d7598da7ec58;p=pg-rex%2Fsyncrep.git plperl's makefile tried to use perl's choice of compiler with postgres's choice of compiler options. Tres uncool. --- diff --git a/src/pl/plperl/Makefile.PL b/src/pl/plperl/Makefile.PL index 9285668917..add0dfd32b 100644 --- a/src/pl/plperl/Makefile.PL +++ b/src/pl/plperl/Makefile.PL @@ -56,17 +56,13 @@ TYPEMAP= -typemap \$(EXTDIR)/typemap # use the same compiler as perl did CC= $Config{cc} -# get the compiler options that perl wants. -CFLAGS+= @{[ccopts()]} +# use the same compiler options as perl did, too +CFLAGS= @{[ccopts()]} # including the ones for dynamic loading CFLAGS+= $Config{cccdlflags} -# add the includes for postgreSQL -CFLAGS+= -I\$(LIBPQDIR) -I\$(SRCDIR)/include - -# For fmgr.h -CFLAGS+= -I\$(SRCDIR)/backend - +# now add the includes for postgreSQL +CFLAGS+= -I\$(LIBPQDIR) -I\$(SRCDIR)/include -I\$(SRCDIR)/backend # add the postgreSQL libraries LDADD+= -L\$(LIBPQDIR) -lpq