summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-04-30 19:38:58 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-04-30 19:38:58 +0000
commitdf2143785dadb3f11f9c4ce4c1ff76a7503b9bfb (patch)
treeb129d70bdd83309ad0fa953e6f2fd28b5790cfc9
parentc67f654fdd7103ac09c2225aa2d71e06aec5a883 (diff)
opkg: work around the same broken array overrun check in gcc 4.4 as in gcc 4.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15522 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/opkg/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/opkg/Makefile b/package/opkg/Makefile
index 8a06ec072..8b1961985 100644
--- a/package/opkg/Makefile
+++ b/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