mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-10-29 13:04:27 -04:00 
			
		
		
		
	Every minor version bump of a major version will result in a huge patch diff because of the moving of all the patches from version e.g. 11.2.0 to 11.3.0. This commit only use the major version for the patch folders to differentiate between the different gcc versions. This will significantly improve the reviewing of the smaller version bump patches and help to see what really changed in a minor version bump. Signed-off-by: Nick Hainke <vincent@systemli.org>
		
			
				
	
	
		
			14 lines
		
	
	
		
			411 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			411 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| --- a/gcc/gcc.c
 | |
| +++ b/gcc/gcc.c
 | |
| @@ -978,7 +978,9 @@ proper position among the other output f
 | |
|  #endif
 | |
|  
 | |
|  #ifndef LINK_SSP_SPEC
 | |
| -#ifdef TARGET_LIBC_PROVIDES_SSP
 | |
| +#if DEFAULT_LIBC == LIBC_MUSL
 | |
| +#define LINK_SSP_SPEC "-lssp_nonshared"
 | |
| +#elif defined(TARGET_LIBC_PROVIDES_SSP)
 | |
|  #define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \
 | |
|  		       "|fstack-protector-strong|fstack-protector-explicit:}"
 | |
|  #else
 |