diff options
| author | Felix Fietkau <nbd@openwrt.org> | 2009-02-14 10:43:15 +0000 |
|---|---|---|
| committer | Felix Fietkau <nbd@openwrt.org> | 2009-02-14 10:43:15 +0000 |
| commit | f10075e5b6eb4877fb332536a62c260573c402bb (patch) | |
| tree | 4e84e1c2bb510a921bfe13176fc01df7e1cc5efe | |
| parent | 152887e42470227a0fdcf32e62802290d9cd5bd8 (diff) | |
| download | upstream-f10075e5b6eb4877fb332536a62c260573c402bb.tar.gz upstream-f10075e5b6eb4877fb332536a62c260573c402bb.tar.bz2 upstream-f10075e5b6eb4877fb332536a62c260573c402bb.zip | |
opkg: work around a gcc warning bug related to array bounds checking
SVN-Revision: 14506
| -rw-r--r-- | package/opkg/patches/005-array_warnings.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/package/opkg/patches/005-array_warnings.patch b/package/opkg/patches/005-array_warnings.patch new file mode 100644 index 00000000000..deaffbe33e3 --- /dev/null +++ b/package/opkg/patches/005-array_warnings.patch @@ -0,0 +1,10 @@ +--- 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 |
