diff --git a/src/corelib/CMakeLists.txt b/src/corelib/CMakeLists.txt index ffd22d6884..89abd8d863 100644 --- a/src/corelib/CMakeLists.txt +++ b/src/corelib/CMakeLists.txt @@ -287,6 +287,7 @@ _qt_internal_setup_deploy_support() set(corelib_no_pch_sources compat/removed_api.cpp + global/qsimd.cpp ) foreach(src ${corelib_no_pch_sources}) diff --git a/src/corelib/global/qsimd.cpp b/src/corelib/global/qsimd.cpp index d2a0686097..fea25a73d7 100644 --- a/src/corelib/global/qsimd.cpp +++ b/src/corelib/global/qsimd.cpp @@ -40,6 +40,7 @@ // we need ICC to define the prototype for _rdseed64_step #define __INTEL_COMPILER_USE_INTRINSIC_PROTOTYPES +#undef _FORTIFY_SOURCE // otherwise, the always_inline from stdio.h fail to inline #include "qsimd_p.h" #include "qalgorithms.h"