From e16ea0303c3460f7dee486614f386ea13ae00419 Mon Sep 17 00:00:00 2001 From: Björn Persson Date: Nov 13 2013 23:27:51 +0000 Subject: Pass the Fortran modules directory to GPRbuild. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/fedora-gnat-project-common/trunk@43 ffb95eb5-2024-4977-8b95-d8f13d9cd9b7 --- diff --git a/macros.gnat.in b/macros.gnat.in index 6dfc95b..48194da 100644 --- a/macros.gnat.in +++ b/macros.gnat.in @@ -44,7 +44,7 @@ # included in debuginfo packages. %Gnatmake_optflags -cargs %{Ada_optflags} -largs %{Gnatlink_flags} -margs %{GNAT_builder_flags} -%GPRbuild_optflags -cargs:Ada %{Ada_optflags} -cargs:C %{optflags} -cargs:C++ %{optflags} -cargs:Fortran %{optflags} -largs %{__global_ldflags} -gargs %{GNAT_builder_flags} +%GPRbuild_optflags -cargs:Ada %{Ada_optflags} -cargs:C %{optflags} -cargs:C++ %{optflags} -cargs:Fortran %{optflags} -I%{_fmoddir} -largs %{__global_ldflags} -gargs %{GNAT_builder_flags} # Gnatmake_optflags and GPRbuild_optflags contain both the parameters for the # builder itself and parameters that the builder shall pass to the tools it # invokes. -margs and -gargs must be used after all other mode switches to