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/debug.mk | |
parent | c2529c1ed61816799dd56bb46699b2b8cf5acb39 (diff) |
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/debug.mk')
-rw-r--r-- | mk/debug.mk | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mk/debug.mk b/mk/debug.mk index 67e9ad1a..bc98b585 100644 --- a/mk/debug.mk +++ b/mk/debug.mk @@ -3,14 +3,14 @@ # All rights reserved. Released under the 2-clause BSD license. _RC_DEBUG_SH= case "${DEBUG}" in "") echo "";; *) echo "-DRC_DEBUG";; esac -_RC_DEBUG!= ${_RC_DEBUG_SH} -CPPFLAGS+= ${_RC_DEBUG}$(shell ${_RC_DEBUG_SH}) +_RC_DEBUG:= $(shell ${_RC_DEBUG_SH}) +CPPFLAGS+= ${_RC_DEBUG} # Should we enable this with a different flag? _LD_DEBUG_SH= case "${DEBUG}" in "") echo "";; *) echo "-Wl,--rpath=../librc -Wl,--rpath=../libeinfo";; esac -_LD_DEBUG!= ${_LD_DEBUG_SH} -LDFLAGS+= ${_LD_DEBUG}$(shell ${_LD_DEBUG_SH}) +_LD_DEBUG:= $(shell ${_LD_DEBUG_SH}) +LDFLAGS+= ${_LD_DEBUG} _GGDB_SH= case "${DEBUG}" in "") echo "";; *) echo "-ggdb";; esac -_GGDB!= ${_GGDB_SH} -CFLAGS+= ${_GGDB}$(shell ${_GGDB_SH}) +_GGDB:= $(shell ${_GGDB_SH}) +CFLAGS+= ${_GGDB} |