Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r59986 - trunk/tools/build/v2/tools
From: ghost_at_[hidden]
Date: 2010-02-28 02:51:22


Author: vladimir_prus
Date: 2010-02-28 02:51:21 EST (Sun, 28 Feb 2010)
New Revision: 59986
URL: http://svn.boost.org/trac/boost/changeset/59986

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

Fixes #3916.

Text files modified:
   trunk/tools/build/v2/tools/gcc.jam | 5 ++++-
   1 files changed, 4 insertions(+), 1 deletions(-)

Modified: trunk/tools/build/v2/tools/gcc.jam
==============================================================================
--- trunk/tools/build/v2/tools/gcc.jam (original)
+++ trunk/tools/build/v2/tools/gcc.jam 2010-02-28 02:51:21 EST (Sun, 28 Feb 2010)
@@ -498,8 +498,11 @@
     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


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk