Link with libgcc_s it would fail otherwise on x86_64-uclibc (and maybe others)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@13170 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
8ecf39ba7f
commit
2b8d6cb9bc
@ -45,7 +45,7 @@ $(STAMP_BUILT)-$(2): $(STAMP_PREPARED)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/include/uClibc++ -fno-builtin -nostdinc++" \
|
||||
LFLAGS="$(TARGET_LDFLAGS) -L. -nodefaultlibs $(4) -lz -luClibc++ -lm -lpthread -lgcc" \
|
||||
LFLAGS="$(TARGET_LDFLAGS) -L. -nodefaultlibs $(4) -lz -luClibc++ -lm -lpthread -lgcc_s" \
|
||||
$(3)
|
||||
touch $$@
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user