mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-04 06:54:27 -05:00 
			
		
		
		
	argp-standalone: fix build error with gcc 5.2 (#20460)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46813
This commit is contained in:
		
							parent
							
								
									bda4c3d5e5
								
							
						
					
					
						commit
						b13d8e55a7
					
				
							
								
								
									
										11
									
								
								package/libs/argp-standalone/patches/002-no_optimize.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								package/libs/argp-standalone/patches/002-no_optimize.patch
									
									
									
									
									
										Normal file
									
								
							@ -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
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user