toolchain/gcc: use explicit configure args
Spell out what we want to enable or disable. This prevents host libs to leak in, so everyone get the same feature set. Signed-off-by: Andre Heider <a.heider@gmail.com>
This commit is contained in:
		 Andre Heider
					Andre Heider
				
			
				
					committed by
					
						 Christian Marangi
						Christian Marangi
					
				
			
			
				
	
			
			
			 Christian Marangi
						Christian Marangi
					
				
			
						parent
						
							dd39f760b7
						
					
				
				
					commit
					4b8b89da50
				
			| @@ -106,6 +106,8 @@ GCC_CONFIGURE:= \ | |||||||
| 			--with-abi=$(call qstrip,$(CONFIG_MIPS64_ABI))) \ | 			--with-abi=$(call qstrip,$(CONFIG_MIPS64_ABI))) \ | ||||||
| 		$(if $(CONFIG_arc),--with-cpu=$(CONFIG_CPU_TYPE)) \ | 		$(if $(CONFIG_arc),--with-cpu=$(CONFIG_CPU_TYPE)) \ | ||||||
| 		$(if $(CONFIG_powerpc64), $(if $(CONFIG_USE_MUSL),--with-abi=elfv2)) \ | 		$(if $(CONFIG_powerpc64), $(if $(CONFIG_USE_MUSL),--with-abi=elfv2)) \ | ||||||
|  | 		--with-system-zlib=$(STAGING_DIR_HOST) \ | ||||||
|  | 		--without-zstd \ | ||||||
| 		--with-gmp=$(STAGING_DIR_HOST) \ | 		--with-gmp=$(STAGING_DIR_HOST) \ | ||||||
| 		--with-mpfr=$(STAGING_DIR_HOST) \ | 		--with-mpfr=$(STAGING_DIR_HOST) \ | ||||||
| 		--with-mpc=$(STAGING_DIR_HOST) \ | 		--with-mpc=$(STAGING_DIR_HOST) \ | ||||||
|   | |||||||
| @@ -8,6 +8,7 @@ GCC_CONFIGURE += \ | |||||||
| 	--enable-shared \ | 	--enable-shared \ | ||||||
| 	--enable-threads \ | 	--enable-threads \ | ||||||
| 	--with-slibdir=$(TOOLCHAIN_DIR)/lib \ | 	--with-slibdir=$(TOOLCHAIN_DIR)/lib \ | ||||||
|  | 	--enable-plugins \ | ||||||
| 	--enable-lto \ | 	--enable-lto \ | ||||||
| 	--with-libelf=$(STAGING_DIR_HOST) | 	--with-libelf=$(STAGING_DIR_HOST) | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user