diff --git a/wrapper/Ada/README.md b/wrapper/Ada/README.md index 0e0d39e01..67c73c4c0 100644 --- a/wrapper/Ada/README.md +++ b/wrapper/Ada/README.md @@ -63,6 +63,7 @@ chmod +x gnat-2021-20210519-x86_64-linux-bin ```sh export PATH="/opt/GNAT/2021/bin:$PATH" +cd wrapper/Ada gprclean gprbuild default.gpr gprbuild client.gpr diff --git a/wrapper/Ada/default.gpr b/wrapper/Ada/default.gpr index dc4c5014f..37227b6f5 100644 --- a/wrapper/Ada/default.gpr +++ b/wrapper/Ada/default.gpr @@ -6,6 +6,13 @@ project Default is "../../src", "../../wolfcrypt/src"); + -- Don't build the tls client application because it makes use + -- of the Secondary Stack due to usage of the Ada.Command_Line + -- package. All other Ada source code does not use the secondary stack. + for Excluded_Source_Files use ("tls_client_main.adb", + "tls_client.ads", + "tls_client.adb"); + for Object_Dir use "obj"; for Main use ("c_tls_client_main.c",