From 6f6fbe4bdf9851de1eb6ebef5287e3007846045e Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Fri, 23 Sep 2011 22:26:39 +0000 Subject: - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS) - Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead PR: 157936 Submitted by: myself Exp-runs by: pav Approved by: pav --- math/gambit/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'math/gambit') diff --git a/math/gambit/Makefile b/math/gambit/Makefile index bcb1c726487e..75b9bcafbe96 100644 --- a/math/gambit/Makefile +++ b/math/gambit/Makefile @@ -18,12 +18,11 @@ USE_GNOME= gtk20 WANT_UNICODE= yes USE_WX= 2.6+ USE_AUTOTOOLS= libtool -CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" CONFIGURE_ARGS+=--with-wx-config=${WX_CONFIG} USE_LDCONFIG= yes -CPPFLAGS= ${PTHREAD_CFLAGS} -LDFLAGS= ${PTHREAD_LIBS} +CPPFLAGS+= ${PTHREAD_CFLAGS} +LDFLAGS+= ${PTHREAD_LIBS} .if !defined(CFLAGS) || ${CFLAGS:M-fno-strict-aliasing*} == "" CFLAGS+= -O2 -fno-strict-aliasing .endif -- cgit v1.2.3