mirror of
				https://github.com/openwrt/openwrt.git
				synced 2025-10-30 07:49:23 +08:00 
			
		
		
		
	 6268692bd2
			
		
	
	6268692bd2
	
	
	
		
			
			Update to recent fortify-headers version. This version also supports
_FORTIFY_SOURCE=3.
Changes: https://github.com/jvoisin/fortify-headers/compare/1.1...2.3.3
A patch similar to the removed one was applied upstream:
b40f6d8748
The root file system is getting a bit bigger.
Without this commit:
5250380 bin/targets/armsr/armv8/openwrt-armsr-armv8-generic-rootfs.tar.gz
4919997 bin/targets/malta/be/openwrt-malta-be-default-rootfs.tar.gz
With this commit:
5263407 bin/targets/armsr/armv8/openwrt-armsr-armv8-generic-rootfs.tar.gz
4930011 bin/targets/malta/be/openwrt-malta-be-default-rootfs.tar.gz
Link: https://github.com/openwrt/openwrt/pull/20313
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
		
	
		
			
				
	
	
		
			25 lines
		
	
	
		
			806 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			806 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| From 9ee4b9bd8df55ebbd5f6426fda4a36e1958b64c5 Mon Sep 17 00:00:00 2001
 | |
| From: Matthias Van Parys <matthias.vanparys@softathome.com>
 | |
| Date: Mon, 10 Jul 2023 14:31:05 +0200
 | |
| Subject: [PATCH] strings.h: Add __extension__ mark to include_next to silence
 | |
|  -pedantic
 | |
| 
 | |
| Add __extension__ before #include-next in strings.h as was done for all other header files in commits
 | |
| 7fd984fcb532be01f68cddc194c09a7ca10c1ea6 and a9ffac8596b094da8563aa5dd5d81c946670afe
 | |
| ---
 | |
|  include/strings.h | 3 +++
 | |
|  1 file changed, 3 insertions(+)
 | |
| 
 | |
| --- a/include/strings.h
 | |
| +++ b/include/strings.h
 | |
| @@ -17,6 +17,9 @@
 | |
|  #ifndef _FORTIFY_STRINGS_H
 | |
|  #define _FORTIFY_STRINGS_H
 | |
|  
 | |
| +#ifndef __cplusplus
 | |
| +__extension__
 | |
| +#endif
 | |
|  #include_next <strings.h>
 | |
|  
 | |
|  #if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0
 |