Pass full LDFLAGS to configure script. This fixes the build with

newer versions of GCC, allowing for an update of lang/gcc (and it's
the right thing anyway).

PR:		182136
Submitted by:	Christoph Moench-Tegeder <cmt@burggraben.net>
Approved by:	maintainer timeout
This commit is contained in:
Gerald Pfeifer 2014-01-21 05:34:46 +00:00
parent 9c67c7c127
commit 0b8b72c331
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=340551

View file

@ -25,7 +25,8 @@ CONFIGURE_ENV= PETSC_ARCH=${TARGET} \
CONFIGURE_ARGS= --prefix=${PREFIX}/${PFX} --COPTFLAGS="${CFLAGS}" \
--CXXOPTFLAGS="${CXXFLAGS}" --FOPTFLAGS="${FFLAGS}" \
--with-shared=1 --with-cc=${CC} --with-fc=${FC} \
--CPPFLAGS="-I${LOCALBASE}/include" --LDFLAGS=${PTHREAD_LIBS}
--CPPFLAGS="-I${LOCALBASE}/include" \
--LDFLAGS="${PTHREAD_LIBS} ${LDFLAGS}"
ALL_TARGET= all
MAKEFILE= makefile
MAKE_ENV= PETSC_DIR=${WRKSRC}