diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-10-18 01:30:49 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-10-18 01:30:49 +0000 |
| commit | c62b29a6034b1cb16abef7012f475fbe6fedc3d5 (patch) | |
| tree | d17a0fcccb4e40ae26d76b7c65fbc3f00b04db1b /contrib/cube | |
| parent | 23836fb1fbe69c53eaaaae40db18ae6120c60135 (diff) | |
| download | postgresql-c62b29a6034b1cb16abef7012f475fbe6fedc3d5.tar.gz | |
Fix several contrib makefiles that failed in VPATH builds, particularly
when not using gcc (which has slightly nonstandard inclusion rules).
Diffstat (limited to 'contrib/cube')
| -rw-r--r-- | contrib/cube/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/cube/Makefile b/contrib/cube/Makefile index 89dcb45728..331b4c9385 100644 --- a/contrib/cube/Makefile +++ b/contrib/cube/Makefile @@ -1,4 +1,4 @@ -# $PostgreSQL: pgsql/contrib/cube/Makefile,v 1.14 2005/09/27 17:13:00 tgl Exp $ +# $PostgreSQL: pgsql/contrib/cube/Makefile,v 1.15 2005/10/18 01:30:48 tgl Exp $ MODULE_big = cube OBJS= cube.o cubeparse.o @@ -9,6 +9,8 @@ REGRESS = cube EXTRA_CLEAN = cubeparse.c cubeparse.h cubescan.c y.tab.c y.tab.h +PG_CPPFLAGS = -I. + SHLIB_LINK += $(filter -lm, $(LIBS)) ifdef USE_PGXS |
