diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-02-14 14:11:12 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-02-14 14:11:12 +0000 |
commit | 6def772341f6eebcb88e9190051bbfafa916aeed (patch) | |
tree | f16ae52a2dd56a963ff2548c3b12640324e86251 /package/opkg/Makefile | |
parent | 55349584aaaa1c5156be7eecdfd4a155052b22da (diff) | |
download | upstream-6def772341f6eebcb88e9190051bbfafa916aeed.tar.gz upstream-6def772341f6eebcb88e9190051bbfafa916aeed.tar.bz2 upstream-6def772341f6eebcb88e9190051bbfafa916aeed.zip |
opkg: apparently array bounds checking is gcc 4.3 specific, move -Wno-array-bounds into TARGET_CFLAGS instead of a patch and make it conditional
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14508 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/opkg/Makefile')
-rw-r--r-- | package/opkg/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/opkg/Makefile b/package/opkg/Makefile index 91db724767..6a857905b7 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 |