mgen: replace uclibc++ hacks with g++-uc wrapper
git-svn-id: svn://svn.openwrt.org/openwrt/packages@32355 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
ed70c15a58
commit
34f552b714
@ -37,8 +37,8 @@ endef
|
|||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR)/unix \
|
$(MAKE) -C $(PKG_BUILD_DIR)/unix \
|
||||||
CC="$(TARGET_CXX)" \
|
CC="g++-uc" \
|
||||||
CPPFLAGS="$(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/include/uClibc++ -fno-builtin -fno-rtti -nostdinc++" \
|
CPPFLAGS="$(TARGET_CPPFLAGS)" \
|
||||||
LDFLAGS="$(TARGET_LDFLAGS)" \
|
LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||||
SYSTEM_LIBS="-ldl -lpthread -luClibc++" \
|
SYSTEM_LIBS="-ldl -lpthread -luClibc++" \
|
||||||
-f Makefile.linux mgen
|
-f Makefile.linux mgen
|
||||||
|
Loading…
x
Reference in New Issue
Block a user