mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 23:28:08 -07:00
dev-ada/gnatmem: for C use the related gcc compiler
Package-Manager: Portage-2.3.40, Repoman-2.3.9
This commit is contained in:
@@ -33,7 +33,14 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
gprbuild -v -Pgnatmem.gpr -j$(makeopts_jobs) \
|
||||
if use gnat_2016; then
|
||||
GCC_PV=4.9.0
|
||||
elif use gnat_2017; then
|
||||
GCC_PV=6.3.0
|
||||
else
|
||||
GCC_PV=7.3.1
|
||||
fi
|
||||
gprbuild -v -Pgnatmem.gpr -j$(makeopts_jobs) -XCC=gcc-${GCC_PV} \
|
||||
-cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user