File: 0004-Force-native-SIMD-build-to-use-architecture-baseline.patch

package info (click to toggle)
astc-encoder 5.3.0%2Bds-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 43,260 kB
  • sloc: ansic: 44,647; cpp: 24,160; python: 3,403; sh: 79; makefile: 26
file content (22 lines) | stat: -rw-r--r-- 823 bytes parent folder | download
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()