Enable -fstack-clash-protection on all targets
This commit is contained in:
		
							parent
							
								
									ab4299b595
								
							
						
					
					
						commit
						d89d75ea4a
					
				
					 4 changed files with 12 additions and 12 deletions
				
			
		| 
						 | 
				
			
			@ -54,8 +54,8 @@ ENV PATH="/opt/ct-ng/bin:${PATH}" \
 | 
			
		|||
    AR="${FFBUILD_TOOLCHAIN}-gcc-ar" \
 | 
			
		||||
    RANLIB="${FFBUILD_TOOLCHAIN}-gcc-ranlib" \
 | 
			
		||||
    NM="${FFBUILD_TOOLCHAIN}-gcc-nm" \
 | 
			
		||||
    CFLAGS="-static-libgcc -static-libstdc++ -I/opt/ffbuild/include -O2 -pipe -fPIC -DPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -pthread" \
 | 
			
		||||
    CXXFLAGS="-static-libgcc -static-libstdc++ -I/opt/ffbuild/include -O2 -pipe -fPIC -DPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -pthread" \
 | 
			
		||||
    LDFLAGS="-static-libgcc -static-libstdc++ -L/opt/ffbuild/lib -O2 -pipe -fstack-protector-strong -Wl,-z,relro,-z,now -pthread -lm" \
 | 
			
		||||
    CFLAGS="-static-libgcc -static-libstdc++ -I/opt/ffbuild/include -O2 -pipe -fPIC -DPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fstack-clash-protection -pthread" \
 | 
			
		||||
    CXXFLAGS="-static-libgcc -static-libstdc++ -I/opt/ffbuild/include -O2 -pipe -fPIC -DPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fstack-clash-protection -pthread" \
 | 
			
		||||
    LDFLAGS="-static-libgcc -static-libstdc++ -L/opt/ffbuild/lib -O2 -pipe -fstack-protector-strong -fstack-clash-protection -Wl,-z,relro,-z,now -pthread -lm" \
 | 
			
		||||
    STAGE_CFLAGS="-fvisibility=hidden -fno-semantic-interposition" \
 | 
			
		||||
    STAGE_CXXFLAGS="-fvisibility=hidden -fno-semantic-interposition"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue