[Cmake-commits] [cmake-commits] hoffman committed cmLocalGenerator.cxx 1.276 1.277

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Jul 30 10:44:59 EDT 2008


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv23318

Modified Files:
	cmLocalGenerator.cxx 
Log Message:
BUG: fix for bug 7421, fortran did not get arch flags on the mac


Index: cmLocalGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmLocalGenerator.cxx,v
retrieving revision 1.276
retrieving revision 1.277
diff -C 2 -d -r1.276 -r1.277
*** cmLocalGenerator.cxx	22 Jul 2008 17:32:43 -0000	1.276
--- cmLocalGenerator.cxx	30 Jul 2008 14:44:57 -0000	1.277
***************
*** 1631,1635 ****
        this->Makefile->GetDefinition("CMAKE_OSX_SYSROOT_DEFAULT");
      bool flagsUsed = false;
!     if(osxArch && sysroot  && lang && lang[0] =='C')
        { 
        std::vector<std::string> archs;
--- 1631,1635 ----
        this->Makefile->GetDefinition("CMAKE_OSX_SYSROOT_DEFAULT");
      bool flagsUsed = false;
!     if(osxArch && sysroot  && lang && (lang[0] =='C' || lang[0] == 'F'))
        { 
        std::vector<std::string> archs;



More information about the Cmake-commits mailing list