summaryrefslogtreecommitdiff
path: root/package/opkg/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/opkg/Makefile')
-rw-r--r--package/opkg/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/opkg/Makefile b/package/opkg/Makefile
index 91db724..6a85790 100644
--- a/package/opkg/Makefile
+++ b/package/opkg/Makefile
@@ -40,7 +40,7 @@ define Package/opkg/conffiles
/etc/opkg.conf
endef
-TARGET_CFLAGS += $(FPIC)
+TARGET_CFLAGS += $(FPIC) $(if $(CONFIG_GCC_VERSION_4_3),-Wno-array-bounds)
EXTRA_CFLAGS+=-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/lib
EXTRA_LDFLAGS+=-L$(STAGING_DIR)/usr/lib -Wl,-rpath-link,$(STAGING_DIR)/usr/lib