mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-10-31 05:54:26 -04:00 
			
		
		
		
	arc-2016.09 is the most recent toolchain for ARC cores and it is based on top of upstream Binutils 2.27 and GCC 6.2.1. With updated major version of GCC we copied all GCC 6.x patches for ARC as well as Bintils 2.27 patches. Note that toochain sports ARCv4 ABI and so must be used with 4.8+ Linux kernels. Even though it will build v4.4 kernel perfectly fine on attempt to run user-space apps they won't work with older kernel. That said previuosly sent RFC patches with Linux kernel update are required: [1] https://patchwork.ozlabs.org/patch/726686/ [2] https://patchwork.ozlabs.org/patch/726687/ Signed-off-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
		
			
				
	
	
		
			16 lines
		
	
	
		
			472 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			472 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| --- a/gcc/gcc.c
 | |
| +++ b/gcc/gcc.c
 | |
| @@ -9198,8 +9198,10 @@ getenv_spec_function (int argc, const ch
 | |
|      value = varname;
 | |
|  
 | |
|    if (!value)
 | |
| -    fatal_error (input_location,
 | |
| -		 "environment variable %qs not defined", varname);
 | |
| +    {
 | |
| +      warning (input_location, "environment variable %qs not defined", varname);
 | |
| +      value = "";
 | |
| +    }
 | |
|  
 | |
|    /* We have to escape every character of the environment variable so
 | |
|       they are not interpreted as active spec characters.  A
 |