diff options
author | William Hubbs <williamh@gentoo.org> | 2011-01-29 17:32:38 -0600 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2011-01-31 14:05:57 -0600 |
commit | cca7e9f7e1143f3405bc90ff8e2176d82ab491ef (patch) | |
tree | 63fee486bd9b9729b7defc66577daae1fddc1c1b /mk/prog.mk | |
parent | c2529c1ed61816799dd56bb46699b2b8cf5acb39 (diff) | |
download | openrc-cca7e9f7e1143f3405bc90ff8e2176d82ab491ef.tar.gz openrc-cca7e9f7e1143f3405bc90ff8e2176d82ab491ef.tar.bz2 openrc-cca7e9f7e1143f3405bc90ff8e2176d82ab491ef.tar.xz |
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
Diffstat (limited to 'mk/prog.mk')
-rw-r--r-- | mk/prog.mk | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,8 +15,8 @@ _DYNLINK_SH= if test "${PREFIX}" = "" && test -e /libexec/ld.elf_so; then \ else \ echo ""; \ fi -_DYNLINK!= ${_DYNLINK_SH} -LDFLAGS+= ${_DYNLINK}$(shell ${_DYNLINK_SH}) +_DYNLINK:= $(shell ${_DYNLINK_SH}) +LDFLAGS+= ${_DYNLINK} LDFLAGS+= -Wl,-rpath=${PREFIX}/${LIBNAME} LDFLAGS+= ${PROGLDFLAGS} |