From: Tomer Lev Date: Thu, 15 Jan 2026 17:57:31 +0000 (+0200) Subject: cmake: remove ifunc requirement from cmake build (#360) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ba7222ca832b4e56ba457daf59f226050fcd1c4;p=thirdparty%2Fvectorscan.git cmake: remove ifunc requirement from cmake build (#360) Removing ifunc requirement from osdetection.cmake --- diff --git a/cmake/osdetection.cmake b/cmake/osdetection.cmake index 96083baf..5a8a5326 100644 --- a/cmake/osdetection.cmake +++ b/cmake/osdetection.cmake @@ -41,11 +41,6 @@ if (FAT_RUNTIME) if (NOT (CMAKE_GENERATOR MATCHES "Unix Makefiles" OR (CMAKE_VERSION VERSION_GREATER "3.0" AND CMAKE_GENERATOR MATCHES "Ninja"))) message (FATAL_ERROR "Building the fat runtime requires the Unix Makefiles generator, or Ninja with CMake v3.0 or higher") - else() - include (${CMAKE_MODULE_PATH}/attrib.cmake) - if (NOT HAS_C_ATTR_IFUNC) - message(FATAL_ERROR "Compiler does not support ifunc attribute, cannot build fat runtime") - endif() endif() endif() if (NOT RELEASE_BUILD)