Author: nbd
Date: 2015-09-08 09:10:07 +0200 (Tue, 08 Sep 2015)
New Revision: 46813

Added:
   trunk/package/libs/argp-standalone/patches/002-no_optimize.patch
Log:
argp-standalone: fix build error with gcc 5.2 (#20460)

Signed-off-by: Felix Fietkau <[email protected]>

Added: trunk/package/libs/argp-standalone/patches/002-no_optimize.patch
===================================================================
--- trunk/package/libs/argp-standalone/patches/002-no_optimize.patch            
                (rev 0)
+++ trunk/package/libs/argp-standalone/patches/002-no_optimize.patch    
2015-09-08 07:10:07 UTC (rev 46813)
@@ -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
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to