From fc111f89096cc6e554fa564772fc65dc95f6427f Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Mon, 8 Nov 2010 18:42:25 -0700 Subject: [PATCH] pass CFLAGS and LDFLAGS along for plot library build --- src/plot/Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plot/Makefile.in b/src/plot/Makefile.in index 581b9799bf..e0350a7adb 100644 --- a/src/plot/Makefile.in +++ b/src/plot/Makefile.in @@ -16,8 +16,8 @@ CC = @CC@ # seems like a good idea, but it doesn't work with # libtool as the compiler. So, we trust the configuration # that is built into dynext, instead. -# WITH-ENV = env CC="$(CC)" LD="@MZLINKER@" -WITH_ENV = +# WITH-ENV = env CC="$(CC)" LD="@MZLINKER@" ... +WITH_ENV = env CFLAGS="@CFLAGS@ @COMPFLAGS@ @PREFLAGS@" LDFLAGS="@LDFLAGS@" PLPLOT_SRCS = $(srcdir)/plplot/dc_drv.c \ $(srcdir)/plplot/plcont.c \