aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-09-08 07:10:07 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-09-08 07:10:07 +0000
commit6d0723a7978b4cd98e4d2b1a233c919e5fa9759e (patch)
tree4ae69bee7f4d5104dc8319ee51bb55ff27a8ffac /package
parentd883248ad0dc694a560b24241d98d6c834679148 (diff)
downloadmaster-187ad058-6d0723a7978b4cd98e4d2b1a233c919e5fa9759e.tar.gz
master-187ad058-6d0723a7978b4cd98e4d2b1a233c919e5fa9759e.tar.bz2
master-187ad058-6d0723a7978b4cd98e4d2b1a233c919e5fa9759e.zip
argp-standalone: fix build error with gcc 5.2 (#20460)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46813 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/libs/argp-standalone/patches/002-no_optimize.patch11
1 files changed, 11 insertions, 0 deletions
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
index 0000000000..1da330af70
--- /dev/null
+++ b/package/libs/argp-standalone/patches/002-no_optimize.patch
@@ -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);
+
+-#ifdef __OPTIMIZE__
++#if 0
+ /* Inline versions of above routines. */
+
+ #if !_LIBC