]> granicus.if.org Git - postgresql/commitdiff
Remove assorted compilation failures introduced by latest ecpg changes.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 3 Oct 2003 17:04:48 +0000 (17:04 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 3 Oct 2003 17:04:48 +0000 (17:04 +0000)
Also remove -g, which has no business in CPPFLAGS in the first place,
let alone being hardwired there by a sub-Makefile.

src/interfaces/ecpg/include/ecpglib.h
src/interfaces/ecpg/pgtypeslib/Makefile

index d728d2e55a57ac5290b90c651c98fdf914c352cf..317d35e329485eabb28a0baf6e6b997365a28e56 100644 (file)
@@ -7,6 +7,7 @@
 #define _ECPGLIB_H
 
 #include "libpq-fe.h"
+#include "ecpgtype.h"
 
 #ifndef __BEOS__
 #ifndef __cplusplus
index 71100084b1e07d2b0aac5cda468f7e53eff6666c..043055539b0342174c7c8a547e99db5574882837 100644 (file)
@@ -4,7 +4,7 @@
 #
 # Copyright (c) 1994, Regents of the University of California
 #
-# $Header: /cvsroot/pgsql/src/interfaces/ecpg/pgtypeslib/Makefile,v 1.12 2003/09/27 15:32:47 momjian Exp $
+# $Header: /cvsroot/pgsql/src/interfaces/ecpg/pgtypeslib/Makefile,v 1.13 2003/10/03 17:04:48 tgl Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -16,7 +16,7 @@ NAME= pgtypes
 SO_MAJOR_VERSION= 1
 SO_MINOR_VERSION= 0
 
-override CPPFLAGS := -I$(top_srcdir)/src/interfaces/ecpg/include -I$(top_srcdir)/src/include/utils $(CPPFLAGS) $(THREAD_CPPFLAGS) -g
+override CPPFLAGS := -I$(top_srcdir)/src/interfaces/ecpg/include -I$(top_srcdir)/src/include/utils -I$(libpq_srcdir) $(CPPFLAGS) $(THREAD_CPPFLAGS)
 SHLIB_LINK += -lm
 
 OBJS= numeric.o datetime.o common.o dt_common.o timestamp.o interval.o \