2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 13:02:11 +00:00

Use same flags for fortran compilation as for C and C++.

Fixes #3916.


[SVN r59986]
This commit is contained in:
Vladimir Prus
2010-02-28 07:51:21 +00:00
parent f5a356823e
commit 442fffbefb

View File

@@ -498,8 +498,11 @@ rule compile.c ( targets * : sources * : properties * )
DEPENDS $(<) : [ on $(<) return $(PCH_FILE) ] ;
}
rule compile.fortran
rule compile.fortran ( targets * : sources * : properties * )
{
setup-threading $(targets) : $(sources) : $(properties) ;
setup-fpic $(targets) : $(sources) : $(properties) ;
setup-address-model $(targets) : $(sources) : $(properties) ;
}
actions compile.c++ bind PCH_FILE