aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLKedward <laurence.kedward@bristol.ac.uk>2021-06-05 14:58:26 +0100
committerLKedward <laurence.kedward@bristol.ac.uk>2021-06-05 14:58:26 +0100
commitfaae6a41552b020b683bc936a7dd5ee1723b2b0d (patch)
treea953b30c71b0a4a7fb25d76336313417f160daa5
parentbb95f17cc2fc99603e0cd2f17ae4f9cda16faf3c (diff)
downloadfpm-faae6a41552b020b683bc936a7dd5ee1723b2b0d.tar.gz
fpm-faae6a41552b020b683bc936a7dd5ee1723b2b0d.zip
Add: missing exitstat to C targets
-rw-r--r--src/fpm_backend.f902
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fpm_backend.f90 b/src/fpm_backend.f90
index bdec3af..8628ec4 100644
--- a/src/fpm_backend.f90
+++ b/src/fpm_backend.f90
@@ -271,7 +271,7 @@ subroutine build_target(model,target,stat)
case (FPM_TARGET_C_OBJECT)
call run(model%c_compiler//" -c " // target%source%file_name // target%compile_flags &
- // " -o " // target%output_file)
+ // " -o " // target%output_file, echo=.true., exitstat=stat)
case (FPM_TARGET_EXECUTABLE)