summaryrefslogtreecommitdiff
path: root/package/opkg/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-02-14 14:11:12 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-02-14 14:11:12 +0000
commitdf0643a4089d4cec8c475701d8602c8dbba6237c (patch)
treea992936a692cd10875ca97e053bb1e88f31348f2 /package/opkg/patches
parent18441c327ad0995d62da0a115c230bc67a0fe8e5 (diff)
downloadmtk-20170518-df0643a4089d4cec8c475701d8602c8dbba6237c.zip
mtk-20170518-df0643a4089d4cec8c475701d8602c8dbba6237c.tar.gz
mtk-20170518-df0643a4089d4cec8c475701d8602c8dbba6237c.tar.bz2
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
SVN-Revision: 14508
Diffstat (limited to 'package/opkg/patches')
-rw-r--r--package/opkg/patches/005-array_warnings.patch10
1 files changed, 0 insertions, 10 deletions
diff --git a/package/opkg/patches/005-array_warnings.patch b/package/opkg/patches/005-array_warnings.patch
deleted file mode 100644
index deaffbe..0000000
--- a/package/opkg/patches/005-array_warnings.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/libopkg/Makefile.am
-+++ b/libopkg/Makefile.am
-@@ -1,6 +1,6 @@
-
- HOST_CPU=@host_cpu@
--AM_CFLAGS=-Wall -Werror -DHOST_CPU_STR=\"$(HOST_CPU)\" -DBUILD_CPU=@build_cpu@ -DLIBDIR=\"@libdir@\" -DOPKGLIBDIR=\"@opkglibdir@\" -DDATADIR=\"@datadir@\" -I$(top_srcdir) $(BIGENDIAN_CFLAGS) $(CURL_CFLAGS) $(GPGME_CFLAGS)
-+AM_CFLAGS=-Wall -Werror -Wno-array-bounds -DHOST_CPU_STR=\"$(HOST_CPU)\" -DBUILD_CPU=@build_cpu@ -DLIBDIR=\"@libdir@\" -DOPKGLIBDIR=\"@opkglibdir@\" -DDATADIR=\"@datadir@\" -I$(top_srcdir) $(BIGENDIAN_CFLAGS) $(CURL_CFLAGS) $(GPGME_CFLAGS)
-
- libopkg_includedir=$(includedir)/libopkg
- libopkg_include_HEADERS= opkg.h