diff --git a/extra/boost/PKGBUILD b/extra/boost/PKGBUILD index ac4b3fe34..4060f3e40 100644 --- a/extra/boost/PKGBUILD +++ b/extra/boost/PKGBUILD @@ -48,9 +48,9 @@ build() { pushd tools for _tool in bcp inspect quickbook compiler_status process_jam_log wave; do - "${_stagedir}"/bin/b2 --toolset=gcc cflags="${CPPFLAGS} ${CFLAGS} -std=gnu++11 -O3" $_tool + "${_stagedir}"/bin/b2 --toolset=gcc cflags="${CPPFLAGS} ${CFLAGS} -std=gnu++11 -O3" linkflags="${LDFLAGS}" $_tool done - "${_stagedir}"/bin/b2 --toolset=gcc cflags="${CPPFLAGS} ${CFLAGS} -O3" library_status + "${_stagedir}"/bin/b2 --toolset=gcc cflags="${CPPFLAGS} ${CFLAGS} -O3" linkflags="${LDFLAGS}" library_status popd cp -a dist/bin/* "${_stagedir}"/bin @@ -72,7 +72,7 @@ build() { link=shared,static \ toolset=gcc \ python=2.7 \ - cflags="${CPPFLAGS} ${CFLAGS} -O3" \ + cflags="${CPPFLAGS} ${CFLAGS} -O3" linkflags="${LDFLAGS}" \ --layout=system \ --prefix="${_stagedir}" \ ${JOBS} \