mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
math/costa: Fix build on some systems by removing the -native flag
This commit is contained in:
parent
01794d818d
commit
e1444d580b
@ -1,6 +1,7 @@
|
||||
PORTNAME= costa
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 2.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= math
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
11
math/costa/files/patch-CMakeLists.txt
Normal file
11
math/costa/files/patch-CMakeLists.txt
Normal file
@ -0,0 +1,11 @@
|
||||
--- CMakeLists.txt.orig 2023-02-28 08:57:54 UTC
|
||||
+++ CMakeLists.txt
|
||||
@@ -58,7 +58,7 @@ adjust_mpiexec_flags()
|
||||
# OpenMP
|
||||
find_package(OpenMP COMPONENTS CXX REQUIRED)
|
||||
|
||||
-SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3 -funroll-loops -march=native -DNDEBUG")
|
||||
+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -funroll-loops")
|
||||
|
||||
# Bundled dependencies
|
||||
#
|
Loading…
Reference in New Issue
Block a user