argp-standalone: fix build error with gcc 5.2 (#20460)
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 8 Sep 2015 07:10:07 +0000 (07:10 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 8 Sep 2015 07:10:07 +0000 (07:10 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46813 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/libs/argp-standalone/patches/002-no_optimize.patch [new file with mode: 0644]

diff --git a/package/libs/argp-standalone/patches/002-no_optimize.patch b/package/libs/argp-standalone/patches/002-no_optimize.patch
new file mode 100644 (file)
index 0000000..1da330a
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/argp-fmtstream.h
++++ b/argp-fmtstream.h
+@@ -192,7 +192,7 @@ extern void __argp_fmtstream_update (arg
+ extern int _argp_fmtstream_ensure (argp_fmtstream_t __fs, size_t __amount);
+ extern int __argp_fmtstream_ensure (argp_fmtstream_t __fs, size_t __amount);
\f
+-#ifdef __OPTIMIZE__
++#if 0
+ /* Inline versions of above routines.  */
+ #if !_LIBC