Skip to content

Commit

Permalink
net-p2p/monero-cli: disable -march=native by default
Browse files Browse the repository at this point in the history
A new option NATIVE is provided to enable -march=native if
desired.

PR:		274595
  • Loading branch information
Toni B authored and clausecker committed Oct 23, 2023
1 parent e9060ff commit e994ff6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion net-p2p/monero-cli/Makefile
@@ -1,6 +1,7 @@
PORTNAME= monero-cli
DISTVERSIONPREFIX= v
DISTVERSION= 0.18.3.1
PORTREVISION= 1
CATEGORIES= net-p2p finance

MAINTAINER= ports@FreeBSD.org
Expand Down Expand Up @@ -45,10 +46,12 @@ GH_TUPLE= monero-project:monero:${GIT_COMMIT} \

CFLAGS+= -D_WANT_SEMUN

OPTIONS_DEFINE= DOXYGEN
OPTIONS_DEFINE= DOXYGEN NATIVE
DOXYGEN_BUILD_DEPENDS= dot:graphics/graphviz \
doxygen:devel/doxygen
DOXYGEN_CMAKE_BOOL= BUILD_DOCUMENTATION
NATIVE_CMAKE_ON= -DARCH=native
NATIVE_CMAKE_OFF= -DARCH=default

.include <bsd.port.pre.mk>

Expand Down

0 comments on commit e994ff6

Please sign in to comment.