Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 521518
Collapse All | Expand All

(-)/usr/portage/eclass/gnatbuild.eclass (-1 / +12 lines)
Lines 338-343 Link Here
338
	case $1 in
338
	case $1 in
339
		base_unpack)
339
		base_unpack)
340
			unpack ${A}
340
			unpack ${A}
341
342
			rm ${WORKDIR}/usr/lib/include/*intrin.h
343
			rm ${WORKDIR}/usr/lib/include/cpuid.h
344
			rm ${WORKDIR}/usr/lib/include/cross-stdarg.h
345
			rm ${WORKDIR}/usr/lib/include/mm3dnow.h
346
			rm ${WORKDIR}/usr/lib/include/mmintrin-common.h
347
			rm ${WORKDIR}/usr/lib/include/mm_malloc.h
348
341
			pax-mark E $(find ${GNATBOOT} -name gnat1)
349
			pax-mark E $(find ${GNATBOOT} -name gnat1)
342
350
343
			cd "${S}"
351
			cd "${S}"
Lines 541-547 Link Here
541
				fi
549
				fi
542
550
543
				# set some specifics available in later versions
551
				# set some specifics available in later versions
544
				if version_is_at_least 4.3 ; then
552
				if version_is_at_least 4.7 ; then
553
					confgcc="${confgcc} --enable-threads=posix"
554
					confgcc="${confgcc} --enable-shared=boehm-gc,ada,libada"
555
				elif version_is_at_least 4.3 ; then
545
					einfo "setting gnat thread model"
556
					einfo "setting gnat thread model"
546
					confgcc="${confgcc} --enable-threads=gnat"
557
					confgcc="${confgcc} --enable-threads=gnat"
547
					confgcc="${confgcc} --enable-shared=boehm-gc,ada,libada"
558
					confgcc="${confgcc} --enable-shared=boehm-gc,ada,libada"

Return to bug 521518