diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-02-14 14:11:12 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-02-14 14:11:12 +0000 |
commit | 260c8f7eb66e9cb0f0ebe17b4ff458faa13aceb8 (patch) | |
tree | f16ae52a2dd56a963ff2548c3b12640324e86251 /package/opkg/patches | |
parent | d927107601ca92fb201515ebfe632562d72eb05a (diff) |
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/patches')
-rw-r--r-- | package/opkg/patches/005-array_warnings.patch | 10 |
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 deaffbe33e..0000000000 --- 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 |