diff --git a/src/alire/alire-roots.adb b/src/alire/alire-roots.adb index fae9448b8..aa19a5cff 100644 --- a/src/alire/alire-roots.adb +++ b/src/alire/alire-roots.adb @@ -101,6 +101,10 @@ package body Alire.Roots is -- Will regenerate on demand only those changed. For shared -- dependencies, will also generate any missing configs not generated -- during sync, such as for linked releases and the root release. + + -- Set the environment to be used during build + + This.Export_Build_Environment; end Build_Prepare; ----------- @@ -279,8 +283,6 @@ package body Alire.Roots is return True; end if; - This.Export_Build_Environment; - This.Traverse (Build_Single_Release'Access); return True;