summaryrefslogtreecommitdiff
path: root/misc/astc-encoder/files
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2024-11-16 02:21:11 -0800
committerYuri Victorovich <yuri@FreeBSD.org>2024-11-16 02:27:21 -0800
commitd738d254065b0a7568c33036e8a13ed930efe67a (patch)
tree45a72a6383b5355110601cbc89e242ce4914aa1a /misc/astc-encoder/files
parentmisc/koboldcpp: update 1.77 → 1.78 (diff)
misc/astc-encoder: update 4.8.0 → 5.1.0
Reported by: portscout
Diffstat (limited to 'misc/astc-encoder/files')
-rw-r--r--misc/astc-encoder/files/patch-Source_cmake__core.cmake19
1 files changed, 19 insertions, 0 deletions
diff --git a/misc/astc-encoder/files/patch-Source_cmake__core.cmake b/misc/astc-encoder/files/patch-Source_cmake__core.cmake
new file mode 100644
index 000000000000..475a3338494d
--- /dev/null
+++ b/misc/astc-encoder/files/patch-Source_cmake__core.cmake
@@ -0,0 +1,19 @@
+--- Source/cmake_core.cmake.orig 2024-11-15 11:22:40 UTC
++++ Source/cmake_core.cmake
+@@ -170,7 +170,6 @@ macro(astcenc_set_properties ASTCENC_TARGET_NAME ASTCE
+ $<${is_gnu_fe}:-Wall>
+ $<${is_gnu_fe}:-Wextra>
+ $<${is_gnu_fe}:-Wpedantic>
+- $<${is_gnu_fe}:-Werror>
+ $<${is_gnu_fe}:-Wshadow>
+ $<${is_gnu_fe}:-Wdouble-promotion>
+ $<${is_clang}:-Wdocumentation>
+@@ -449,8 +448,6 @@ macro(astcenc_set_properties ASTCENC_TARGET_NAME ASTCE
+ 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()