瀏覽代碼

argp-standalone: fix build error with gcc 5.2 (#20460)

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

SVN-Revision: 46813
Felix Fietkau 10 年之前
父節點
當前提交
b13d8e55a7
共有 1 個文件被更改,包括 11 次插入0 次删除
  1. 11 0
      package/libs/argp-standalone/patches/002-no_optimize.patch

+ 11 - 0
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