Commit 965614e4 authored by hugues.jerome's avatar hugues.jerome

* Defend against from portability issues when building

	 makefile



git-svn-id: https://tecsw.estec.esa.int/svn/taste/trunk/ocarina@707 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent 69a76113
......@@ -1267,7 +1267,8 @@ package body Ocarina.Backends.Build_Utils is
O_File := Name_Find;
Get_Name_String (C_Sources.Table (J));
while (Name_Buffer (Name_Len) /= '/') and then
while (Name_Buffer (Name_Len) /= Directory_Separator)
and then
Name_Len > 0 loop
Name_Len := Name_Len - 1;
end loop;
......@@ -1285,7 +1286,9 @@ package body Ocarina.Backends.Build_Utils is
if Include_Dir /= No_Name then
Write_Str ("-I");
Write_Str ("'");
Write_Name (Include_Dir);
Write_Str ("'");
end if;
Write_Str (" '");
......
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