From: Matthew Barr Date: Mon, 12 Dec 2016 00:55:56 +0000 (+1100) Subject: Don't set flags for common files X-Git-Tag: v4.4.0^2~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ed2bdc46fdf2e7c8ad412e556ef15e6cfd9ba5c;p=thirdparty%2Fvectorscan.git Don't set flags for common files --- 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})