Get rid of -ffpe-trap flag for CFLAGS

This commit is contained in:
Paul Romano 2016-02-03 20:49:10 -06:00
parent 01b799afdf
commit c835dab6f8

View file

@ -117,8 +117,7 @@ if(CMAKE_Fortran_COMPILER_ID STREQUAL GNU)
endif()
list(APPEND f90flags -g -pedantic -fbounds-check
-ffpe-trap=invalid,overflow,underflow)
list(APPEND cflags -g -pedantic -fbounds-check
-ffpe-trap=invalid,overflow,underflow)
list(APPEND cflags -g -pedantic -fbounds-check)
list(APPEND ldflags -g)
endif()
if(profile)