Created attachment 243381 [details] patch By default the project builds with -march=native, which potentially causes illegal instruction errors. The attached patch removes this flag by default.
Approved, thanks!
Committed, thanks!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=8bafc25ae4f48be3af984c4be1b9cd0d7a181350 commit 8bafc25ae4f48be3af984c4be1b9cd0d7a181350 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-07-21 07:56:35 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-07-21 08:03:10 +0000 math/libdivide: Add NATIVE option PR: 272497 Approved by: thierry@ (maintainer) math/libdivide/Makefile | 5 +++++ math/libdivide/files/patch-CMakeLists.txt | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-)
A commit in branch 2023Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=4ab93272f7909c0fb11d8110519b32c141fff4c6 commit 4ab93272f7909c0fb11d8110519b32c141fff4c6 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-07-21 07:56:35 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-07-21 08:04:14 +0000 math/libdivide: Add NATIVE option PR: 272497 Approved by: thierry@ (maintainer) (cherry picked from commit 8bafc25ae4f48be3af984c4be1b9cd0d7a181350) math/libdivide/Makefile | 5 +++++ math/libdivide/files/patch-CMakeLists.txt | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-)