From cca7e9f7e1143f3405bc90ff8e2176d82ab491ef Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Sat, 29 Jan 2011 17:32:38 -0600 Subject: use immediate evaluation for shell calls This reworks the shell calls in the makefiles to use immediate evaluation and should improve parallel building. X-Gentoo-Bug: 289264 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=289264 --- src/librc/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/librc/Makefile b/src/librc/Makefile index d3f9cc41..eb6f6fdc 100644 --- a/src/librc/Makefile +++ b/src/librc/Makefile @@ -24,16 +24,16 @@ _PKG_PREFIX_SH= if test -n "${PKG_PREFIX}" && test "${PKG_PREFIX}" != "/" && tes else \ echo "-e 's:.*@PKG_PREFIX@.*:\#undef RC_PKG_PREFIX:g'"; \ fi -_PKG_PREFIX!= ${_PKG_PREFIX_SH} -SED_CMD+= ${_PKG_PREFIX}$(shell ${_PKG_PREFIX_SH}) +_PKG_PREFIX:= $(shell ${_PKG_PREFIX_SH}) +SED_CMD+= ${_PKG_PREFIX} _LCL_PREFIX_SH= if test -n "${LOCAL_PREFIX}" && test "${LOCAL_PREFIX}" != "/" && test "${LOCAL_PREFIX}" != "${PREFIX}"; then \ echo "-e 's:@LOCAL_PREFIX@:${LOCAL_PREFIX}:g'"; \ else \ echo "-e 's:@LOCAL_PREFIX@::g'"; \ fi -_LCL_PREFIX!= ${_LCL_PREFIX_SH} -SED_CMD+= ${_LCL_PREFIX}$(shell ${_LCL_PREFIX_SH}) +_LCL_PREFIX:= $(shell ${_LCL_PREFIX_SH}) +SED_CMD+= ${_LCL_PREFIX} .SUFFIXES: .h.in .h .h.in.h: -- cgit v1.2.3