git: 9074b70f6780 - main - devel/lace14: remove hardcoded -march=native

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Tue, 19 Aug 2025 10:42:10 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9074b70f6780f4684bae882d0521f7a72cda4664

commit 9074b70f6780f4684bae882d0521f7a72cda4664
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-08-19 10:41:34 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-08-19 10:42:09 +0000

    devel/lace14: remove hardcoded -march=native
---
 devel/lace14/Makefile                              |  1 +
 devel/lace14/files/patch-benchmarks_CMakeLists.txt | 11 +++++++++++
 2 files changed, 12 insertions(+)

diff --git a/devel/lace14/Makefile b/devel/lace14/Makefile
index 96bd086947f6..9df298a3d090 100644
--- a/devel/lace14/Makefile
+++ b/devel/lace14/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	lace
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.5.1
+PORTREVISION=	1
 CATEGORIES=	devel
 PKGNAMESUFFIX=	14-work-stealing
 
diff --git a/devel/lace14/files/patch-benchmarks_CMakeLists.txt b/devel/lace14/files/patch-benchmarks_CMakeLists.txt
new file mode 100644
index 000000000000..89d193cca126
--- /dev/null
+++ b/devel/lace14/files/patch-benchmarks_CMakeLists.txt
@@ -0,0 +1,11 @@
+--- benchmarks/CMakeLists.txt.orig	2025-08-19 10:37:46 UTC
++++ benchmarks/CMakeLists.txt
+@@ -4,7 +4,7 @@ macro(set_compilation_settings NAME)
+     target_compile_features(${NAME} PRIVATE c_std_11 cxx_std_11)
+     target_compile_options(${NAME} PRIVATE
+         $<$<OR:$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:GNU>>:
+-            -pipe -march=native -Wall -Wextra -Wpedantic -Wno-deprecated>
++            -pipe -Wall -Wextra -Wpedantic -Wno-deprecated>
+         $<$<CXX_COMPILER_ID:MSVC>: /W4>
+     )
+     if (CMAKE_BUILD_TYPE STREQUAL "Release")