aboutsummaryrefslogtreecommitdiff
path: root/src/fpm_backend.f90
diff options
context:
space:
mode:
authorLKedward <laurence.kedward@bristol.ac.uk>2021-04-08 15:40:33 +0100
committerLaurence Kedward <laurence.kedward@bristol.ac.uk>2021-04-09 14:45:29 +0100
commitf85a458f7ab35ee53ab188b3679e05fae5e5819c (patch)
treea6a0adc281a9854188611c2658a0b98aec3bc98b /src/fpm_backend.f90
parentc957b27d275ebd575b5d49599c14e7252765f3ce (diff)
downloadfpm-f85a458f7ab35ee53ab188b3679e05fae5e5819c.tar.gz
fpm-f85a458f7ab35ee53ab188b3679e05fae5e5819c.zip
Fix include flags for c objects
Diffstat (limited to 'src/fpm_backend.f90')
-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 be4c4c9..8c4cf40 100644
--- a/src/fpm_backend.f90
+++ b/src/fpm_backend.f90
@@ -242,7 +242,7 @@ subroutine build_target(model,target)
// " -o " // target%output_file)
case (FPM_TARGET_C_OBJECT)
- call run(model%c_compiler//" -c " // target%source%file_name &
+ call run(model%c_compiler//" -c " // target%source%file_name // target%compile_flags &
// " -o " // target%output_file)
case (FPM_TARGET_EXECUTABLE)