Commits

Jed Brown committed 3e91de1

config: dependency flags are only needed by compiler, so skip linker test

  • Participants
  • Parent commits 38210d5

Comments (0)

Files changed (1)

config/BuildSystem/config/compilers.py

                      ]:
         try:
           self.framework.logPrint('Trying '+language+' compiler flag '+testFlag)
-          if not self.setCompilers.checkLinkerFlag(testFlag):
-            self.framework.logPrint('Rejected '+language+' compiler flag '+testFlag+' because linker cannot handle it')
-            continue
-          self.framework.logPrint('Testing '+language+' compiler flag '+testFlag)
           if self.setCompilers.checkCompilerFlag(testFlag, compilerOnly = 1):
             depFilename = os.path.splitext(self.setCompilers.compilerObj)[0]+'.d'
             if os.path.isfile(depFilename):