diff options
Diffstat (limited to 'comfignat.mk')
-rw-r--r-- | comfignat.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/comfignat.mk b/comfignat.mk index a4742c4..1ab2256 100644 --- a/comfignat.mk +++ b/comfignat.mk @@ -181,7 +181,7 @@ preprocess_file = "${GNATPREP}" ${firstword ${filter %.gp,$^}} $@ \ # conveyed to it as Gnatprep symbols. Otherwise srcdir is conveyed. build_GPR = "${GNAT_BUILDER}" -P ${firstword ${filter %.gpr,$^}} \ - -aP${srcdir} -aP${builddir} -p \ + ${addprefix -aP,${VPATH}} -p \ ${options_building} ${builder_arguments} ${GNATFLAGS} # build_GPR is a command for use in recipes. It performs a build controlled by # the first project file among the rule's prerequisites. |