From c835dab6f8598915dd56056f59c8b9d91a75921b Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Wed, 3 Feb 2016 20:49:10 -0600 Subject: [PATCH] Get rid of -ffpe-trap flag for CFLAGS --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 528a22e81d..ba89e04506 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)