BB: uclibc++: make g++-uc* wrappers relocatable
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 3 Jul 2015 13:49:24 +0000 (13:49 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 3 Jul 2015 13:49:24 +0000 (13:49 +0000)
commit370d9651ad149baed4ed7dbb3d5c523b009e587f
treec4eb60a72e30cf86fedd65e0f8982b48f6f7d71f
parentb88032b736bdfaa9ca7604e5ff296cca95e9c116
BB: uclibc++: make g++-uc* wrappers relocatable

The g++-uc wrapper hardcodes $(STAGING_DIR) and $(TOOLCHAIN_DIR) paths which
will not work outside of the original build environment.

Replace the hardcoded staging_dir occurences with paths relative to the
$STAGING_DIR environment variable to make the g++-uc* wrappers usable in an
SDK environment.

Fixes the libdb47 build failure reported at
  https://lists.openwrt.org/pipermail/openwrt-devel/2015-April/032455.html

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Backport of r46162

SVN-Revision: 46164
package/libs/uclibc++/Makefile