mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2026-01-17 16:00:26 +03:00
cmake: remove ifunc requirement from cmake build (#360)
Removing ifunc requirement from osdetection.cmake
This commit is contained in:
@@ -41,11 +41,6 @@ if (FAT_RUNTIME)
|
|||||||
if (NOT (CMAKE_GENERATOR MATCHES "Unix Makefiles" OR
|
if (NOT (CMAKE_GENERATOR MATCHES "Unix Makefiles" OR
|
||||||
(CMAKE_VERSION VERSION_GREATER "3.0" AND CMAKE_GENERATOR MATCHES "Ninja")))
|
(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")
|
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()
|
||||||
endif()
|
endif()
|
||||||
if (NOT RELEASE_BUILD)
|
if (NOT RELEASE_BUILD)
|
||||||
|
|||||||
Reference in New Issue
Block a user