1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
From: =?utf-8?q?Timo_R=C3=B6hling?= <roehling@debian.org>
Date: Tue, 3 Dec 2024 14:00:48 +0100
Subject: Force native SIMD build to use architecture baseline
Forwarded: not-needed
---
Source/cmake_core.cmake | 2 --
1 file changed, 2 deletions(-)
diff --git a/Source/cmake_core.cmake b/Source/cmake_core.cmake
index c42d865..ae61c9d 100644
--- a/Source/cmake_core.cmake
+++ b/Source/cmake_core.cmake
@@ -440,8 +440,6 @@ macro(astcenc_set_properties ASTCENC_TARGET_NAME ASTCENC_VENEER_TYPE)
else()
target_compile_options(${ASTCENC_TARGET_NAME}
PRIVATE
- $<${is_clangcl}:-mcpu=native -march=native>
- $<${is_gnu_fe}:-mcpu=native -march=native>
$<${is_gnu_fe}:-Wno-unused-command-line-argument>)
endif()
endif()
|