build libgcc when selected as builtin, fix from Ge0rG via irc.freenode.net, thx
[openwrt/svn-archive/archive.git] / openwrt / package / base-files / Makefile
index 7601de2ad067b553f675e440aab53558e378d699..958262761e3133abb940f8d6f9dcac7c85f1b4a8 100644 (file)
@@ -33,6 +33,7 @@ PACKAGES:=$(IPKG_BASE) $(IPKG_UCLIBC)
 PACKAGES_INSTALL:=$(IPKG_BASE) $(IPKG_UCLIBC) 
 
 ifeq ($(BR2_PACKAGE_LIBGCC),y)
+PACKAGES+=$(IPKG_LIBGCC)
 PACKAGES_INSTALL+=$(IPKG_LIBGCC)
 endif
 ifeq ($(BR2_PACKAGE_LIBGCC),m)