Skip to content

Commit

Permalink
Remove invalid Fortran compiler flag from CMake toolchain file (#55)
Browse files Browse the repository at this point in the history
```
f951: Warning: command-line option '-Wno-psabi' is valid for C/C++/D/LTO/ObjC/ObjC++ but not for Fortran
```
  • Loading branch information
calcmogul authored Aug 14, 2023
1 parent 2153d88 commit ac6d873
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion makes/src/91-cmake-cfg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ set(CMAKE_SYSROOT "\${TOOLCHAIN_ROOTFS_DIR}")
set(CMAKE_C_FLAGS "\${CMAKE_C_FLAGS} -Wno-psabi")
set(CMAKE_CXX_FLAGS "\${CMAKE_CXX_FLAGS} -Wno-psabi")
set(CMAKE_Fortran_FLAGS "\${CMAKE_Fortran_FLAGS} -Wno-psabi")
set(CMAKE_C_COMPILER \${TOOLCHAIN_BASE_DIR}/bin/${TARGET_PREFIX}gcc${HOST_SUFFIX})
set(CMAKE_CXX_COMPILER \${TOOLCHAIN_BASE_DIR}/bin/${TARGET_PREFIX}g++${HOST_SUFFIX})
Expand Down

0 comments on commit ac6d873

Please sign in to comment.