From: Nathan Moinvaziri Date: Wed, 9 Aug 2023 00:06:18 +0000 (-0700) Subject: Remove inert check for HAVE_ACLE_FLAG in check_acle_compiler_flag. X-Git-Tag: 2.1.4~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7d98c239a749ebc86322044016f158e0e0b4e3f;p=thirdparty%2Fzlib-ng.git Remove inert check for HAVE_ACLE_FLAG in check_acle_compiler_flag. --- diff --git a/cmake/detect-intrinsics.cmake b/cmake/detect-intrinsics.cmake index 536c27fb7..33ffc28bb 100644 --- a/cmake/detect-intrinsics.cmake +++ b/cmake/detect-intrinsics.cmake @@ -21,7 +21,7 @@ macro(check_acle_compiler_flag) endif() else() if(CMAKE_C_COMPILER_ID MATCHES "GNU" OR CMAKE_C_COMPILER_ID MATCHES "Clang") - if(NOT NATIVEFLAG AND NOT HAVE_ACLE_FLAG) + if(NOT NATIVEFLAG) set(ACLEFLAG "-march=armv8-a+crc" CACHE INTERNAL "Compiler option to enable ACLE support") endif() endif()