uclibc++: make g++-uc* wrappers relocatable
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 3 Jul 2015 13:33:05 +0000 (13:33 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 3 Jul 2015 13:33:05 +0000 (13:33 +0000)
commitc7c59300eebcc65e264e778152b894a39c75976d
treea93fb68c06e000caa83bbf60bebed6694fa37c92
parent550b207c8e0751053c31a7fa87792a5266e2822c
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>
SVN-Revision: 46162
package/libs/uclibc++/Makefile