mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
math/cryptominisat: Unbreak on aarch64.
PR: 229724 Submitted by: Greg V <greg@unrelenting.technology> Approved by: tcberner (mentor)
This commit is contained in:
parent
b960cf7da0
commit
2b5ee65538
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=476827
@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= cryptominisat
|
||||
DISTVERSION= 5.6.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= math
|
||||
|
||||
MAINTAINER= arrowd@FreeBSD.org
|
||||
|
17
math/cryptominisat/files/patch-CMakeLists.txt
Normal file
17
math/cryptominisat/files/patch-CMakeLists.txt
Normal file
@ -0,0 +1,17 @@
|
||||
The `-mtune=native` flag is not supported on aarch64, remove it.
|
||||
|
||||
--- CMakeLists.txt.orig 2018-07-11 20:29:53 UTC
|
||||
+++ CMakeLists.txt
|
||||
@@ -182,11 +182,11 @@ if (NOT MSVC)
|
||||
add_compile_options( -pthread )
|
||||
|
||||
add_compile_options("$<$<CONFIG:RELWITHDEBINFO>:-O2>")
|
||||
- add_compile_options("$<$<CONFIG:RELWITHDEBINFO>:-mtune=native>")
|
||||
+ #add_compile_options("$<$<CONFIG:RELWITHDEBINFO>:-mtune=native>")
|
||||
|
||||
add_compile_options("$<$<CONFIG:RELEASE>:-O2>")
|
||||
add_compile_options("$<$<CONFIG:RELEASE>:-g0>")
|
||||
- add_compile_options("$<$<CONFIG:RELEASE>:-mtune=native>")
|
||||
+ #add_compile_options("$<$<CONFIG:RELEASE>:-mtune=native>")
|
||||
|
||||
add_compile_options("$<$<CONFIG:DEBUG>:-O0>")
|
Loading…
Reference in New Issue
Block a user