fix dibbler compile on avr32
git-svn-id: svn://svn.openwrt.org/openwrt/packages@12132 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
b782b879c6
commit
ebbb863c2e
@ -93,12 +93,12 @@ define Build/Configure
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
# link stuff missing from uClibc++ but present in stdc++ statically
|
# link stuff missing from uClibc++ but present in stdc++ statically
|
||||||
CXX_LIBS:= -nodefaultlibs -luClibc++ -Wl,-Bstatic,-lstdc++,-Bdynamic -lm
|
CXX_LIBS:= -nodefaultlibs -luClibc++ -Wl,-Bstatic,-lstdc++,-Bdynamic -lm -lgcc
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
PORT_CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -fno-builtin -fno-rtti" \
|
PORT_CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -fno-builtin" \
|
||||||
PORT_LDFLAGS="$(TARGET_LDFLAGS)" \
|
PORT_LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||||
DEBUGINFO= \
|
DEBUGINFO= \
|
||||||
CXXLD="$(TARGET_CC)" \
|
CXXLD="$(TARGET_CC)" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user