From 41960796f15e4c1b9cd22876a43ac3ab098d519e Mon Sep 17 00:00:00 2001 From: dehnert Date: Wed, 9 Nov 2016 21:33:42 +0100 Subject: [PATCH] removed prefetch memory flag from clang as it's not supported (unlike for gcc) Former-commit-id: f091d1236c9df6af1c4796c4e134c89bdf770837 [formerly 61906bba0705461af86da687bd6e6abb527a04db] Former-commit-id: 9479100c6a2b2148c3b7959165cf9dd15f9130a1 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 10b76d4ed..451ce6076 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -165,7 +165,7 @@ else(CLANG) # As CLANG is not set as a variable, we need to set it in case we have not matched another compiler. set (CLANG ON) # Set standard flags for clang - set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -flto -fprefetch-loop-arrays -ffast-math -fno-finite-math-only") + set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -flto -ffast-math -fno-finite-math-only") if(UNIX AND NOT APPLE) if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 3.2)