openwrt/package/libs/argp-standalone/patches/002-no_optimize.patch
Felix Fietkau b13d8e55a7 argp-standalone: fix build error with gcc 5.2 (#20460)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46813
2015-09-08 07:10:07 +00:00

12 lines
350 B
Diff
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--- 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