1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00

games/leela-zero: don't set -march=native

-march=native breaks compilation on powerpc64 and we shouldn't optimize anyway for the CPU in the build cluster.

PR:             238886
Approved by:    yuri (maintainer), tcberner (mentor)
Differential Revision:  https://reviews.freebsd.org/D20806
This commit is contained in:
Piotr Kubaj 2019-06-30 19:44:35 +00:00
parent f21e7f2d83
commit 0533d2d6a6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=505453
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= leela-zero
DISTVERSIONPREFIX= v
DISTVERSION= 0.17
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= games
MAINTAINER= yuri@FreeBSD.org

View File

@ -14,7 +14,7 @@
if(GccSpecificFlags)
- set(GCC_COMPILE_FLAGS "-Wall -Wextra -ffast-math -flto -march=native")
+ set(GCC_COMPILE_FLAGS "-Wall -Wextra -ffast-math -march=native") # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238514
+ set(GCC_COMPILE_FLAGS "-Wall -Wextra -ffast-math") # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238514
set(GCC_DISABLED_WARNING_COMPILE_FLAGS "-Wno-ignored-attributes -Wno-maybe-uninitialized \
-Wno-mismatched-tags")
set(GCC_FLAGS "${GCC_COMPILE_FLAGS} ${GCC_DISABLED_WARNING_COMPILE_FLAGS}")