Flang: Remove unsupported fbounds-check flag

The Flang compiler neither supports nor documents -fbounds-check leading
to -Wunused-command-line-argument warnings with the default Debug flags.
This commit is contained in:
Christian Pfeiffer 2017-10-19 17:28:10 +02:00 committed by Brad King
parent a91eb5e41f
commit 3aeff21df7

View File

@ -7,6 +7,4 @@ set(CMAKE_Fortran_PREPROCESS_SOURCE
set(CMAKE_Fortran_FORMAT_FIXED_FLAG "-ffixed-form")
set(CMAKE_Fortran_FORMAT_FREE_FLAG "-ffree-form")
string(APPEND CMAKE_Fortran_FLAGS_DEBUG_INIT " -fbounds-check")
set(CMAKE_Fortran_MODDIR_FLAG "-J")