From 1ed2bdc46fdf2e7c8ad412e556ef15e6cfd9ba5c Mon Sep 17 00:00:00 2001 From: Matthew Barr Date: Mon, 12 Dec 2016 11:55:56 +1100 Subject: [PATCH] Don't set flags for common files --- CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 760906b7..a6ef3fe8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1082,8 +1082,6 @@ else (FAT_RUNTIME) ) set_source_files_properties(src/dispatcher.c PROPERTIES COMPILE_FLAGS "-Wno-unused-parameter -Wno-unused-function") - set_source_files_properties(${hs_exec_common_SRCS} PROPERTIES - COMPILE_FLAGS "-march=core-avx2") if (BUILD_STATIC_AND_SHARED OR BUILD_SHARED_LIBS) add_library(hs_exec_shared_core2 OBJECT ${hs_exec_SRCS})