Browse Source

opkg: work around the same broken array overrun check in gcc 4.4 as in gcc 4.3

SVN-Revision: 15522
Felix Fietkau 16 years ago
parent
commit
97c4a54db3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/opkg/Makefile

+ 1 - 1
package/opkg/Makefile

@@ -40,7 +40,7 @@ define Package/opkg/conffiles
 /etc/opkg.conf
 endef
 
-TARGET_CFLAGS += $(FPIC) $(if $(CONFIG_GCC_VERSION_4_3),-Wno-array-bounds)
+TARGET_CFLAGS += $(FPIC) $(if $(CONFIG_GCC_VERSION_4_3)$(CONFIG_GCC_VERSION_4_4),-Wno-array-bounds)
 EXTRA_CFLAGS += $(TARGET_CPPFLAGS)
 EXTRA_LDFLAGS += $(TARGET_LDFLAGS) -Wl,-rpath-link,$(STAGING_DIR)/usr/lib