]> granicus.if.org Git - postgresql/commitdiff
Get the include ordering right for TCL includes vs whatever is coming
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 1 Aug 2003 19:01:49 +0000 (19:01 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 1 Aug 2003 19:01:49 +0000 (19:01 +0000)
from --with-includes.

src/bin/pgtclsh/Makefile

index 3a379fc20b47fa3f63abab26d8bde04364ea2936..91e324188899faa7b17263ba936c76270896c02b 100644 (file)
@@ -6,7 +6,7 @@
 # Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
 # Portions Copyright (c) 1994, Regents of the University of California
 #
-# $Header: /cvsroot/pgsql/src/bin/pgtclsh/Attic/Makefile,v 1.40 2002/12/30 17:19:51 tgl Exp $
+# $Header: /cvsroot/pgsql/src/bin/pgtclsh/Attic/Makefile,v 1.41 2003/08/01 19:01:49 tgl Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -19,7 +19,7 @@ libpgtcl_srcdir = $(top_srcdir)/src/interfaces/libpgtcl
 libpgtcl_builddir = $(top_builddir)/src/interfaces/libpgtcl
 libpgtcl = -L$(libpgtcl_builddir) -lpgtcl
 
-override CPPFLAGS := -I$(libpgtcl_srcdir) $(CPPFLAGS) $(TK_XINCLUDES) $(TCL_INCLUDE_SPEC)
+override CPPFLAGS := -I$(libpgtcl_srcdir) $(TK_XINCLUDES) $(TCL_INCLUDE_SPEC) $(CPPFLAGS)
 
 
 # If we are here then Tcl is available