Commit 51392f63 authored by yoogx's avatar yoogx

* Change mechanism to compile files, use -aP flag

parent 1ce52033
...@@ -421,10 +421,10 @@ if test ${dotests} = "true" ; then ...@@ -421,10 +421,10 @@ if test ${dotests} = "true" ; then
else else
total=`expr ${total} + 1` total=`expr ${total} + 1`
if test -r ${gprfile} ; then if test -r ${gprfile} ; then
ocarina_gpr="`ocarina-config --prefix`/lib/gnat" ocarina_gpr="`ocarina-config --projects`"
command="ADA_PROJECT_PATH=\"${ocarina_gpr}${path_sep}${ADA_PROJECT_PATH}\" gnatmake -P\"`${path_conv} ${gprfile}`\" -XOBJ_DIR=\"`${path_conv} ${tmpdir}`\"" command="gnatmake -P\"`${path_conv} ${gprfile}`\" -aP${ocarina_gpr} -XOBJ_DIR=\"`${path_conv} ${tmpdir}`\""
ADA_PROJECT_PATH="${ocarina_gpr}${path_sep}${ADA_PROJECT_PATH}" \ ADA_PROJECT_PATH="${ocarina_gpr}${path_sep}${ADA_PROJECT_PATH}" \
gnatmake -P"`${path_conv} ${gprfile}`" \ gnatmake -P"`${path_conv} ${gprfile}`" -aP${ocarina_gpr} \
-XOBJ_DIR="`${path_conv} ${tmpdir}`" \ -XOBJ_DIR="`${path_conv} ${tmpdir}`" \
>${actual_output} 2>&1 >${actual_output} 2>&1
else else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment