Skip to content

Fujitsu: Improve CMake support of Fujitsu[Clang] compilers

Paul Zehner requested to merge pzehner/cmake:master into master

As I reported in the first MR for CMake support of Fujitsu (!5646 (closed)), no C++ standard argument were passed to the compiler when used in Clang mode, and no C90 standard argument was passed neither on Trad mode (see note). I found the same problem with the current support of this compiler (!5954 (merged)).

This MR aims to solve this:

  • C++ standards in Clang mode are passed accordingly by specifying Clang to run in GNU mode (as it uses Clang files);
  • C90 standard in Trad mode is passed accordingly by using Fujitsu C89 standard argument instead (as the two names designate the same standard, if I’m not wrong).

Topic-rename: fujitsu-fixup

Edited by Brad King

Merge request reports