Explicitly declare toolchain tools in base image
This commit is contained in:
		
							parent
							
								
									1f74f0a60a
								
							
						
					
					
						commit
						2f0d9dbf8b
					
				
					 5 changed files with 32 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -48,6 +48,12 @@ ENV PATH="/opt/ct-ng/bin:${PATH}" \
 | 
			
		|||
    FFBUILD_CMAKE_TOOLCHAIN=/toolchain.cmake \
 | 
			
		||||
    PKG_CONFIG=pkg-config \
 | 
			
		||||
    PKG_CONFIG_LIBDIR=/opt/ffbuild/lib/pkgconfig:/opt/ffbuild/share/pkgconfig \
 | 
			
		||||
    CC="${FFBUILD_TOOLCHAIN}-gcc" \
 | 
			
		||||
    CXX="${FFBUILD_TOOLCHAIN}-g++" \
 | 
			
		||||
    LD="${FFBUILD_TOOLCHAIN}-ld" \
 | 
			
		||||
    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" \
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue