Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 264534 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/eclass/toolchain.eclass (-1 / +5 lines)
Lines 1239-1245 Link Here
1239
				# Remove endian ('l' / 'eb')
1239
				# Remove endian ('l' / 'eb')
1240
				[[ ${arm_arch} == *l  ]] && arm_arch=${arm_arch%l}
1240
				[[ ${arm_arch} == *l  ]] && arm_arch=${arm_arch%l}
1241
				[[ ${arm_arch} == *eb ]] && arm_arch=${arm_arch%eb}
1241
				[[ ${arm_arch} == *eb ]] && arm_arch=${arm_arch%eb}
1242
				confgcc="${confgcc} --with-arch=${arm_arch}"
1242
				local arm_arches="armv4 armv4t armv5t armv5te armv6j armv6k armv6m armv6t2 armv6zk armv7a armv7m armv7r"
1243
				for i in $arm_arches; do
1244
					[[ ${i} == $arm_arch ]] && \
1245
						confgcc="${confgcc} --with-arch=${arm_arch}"
1246
				done
1243
			fi
1247
			fi
1244
			;;
1248
			;;
1245
		# Add --with-abi flags to set default MIPS ABI
1249
		# Add --with-abi flags to set default MIPS ABI

Return to bug 264534