From 0533d2d6a61c3cda99b77870857f82097fbca163 Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Sun, 30 Jun 2019 19:44:35 +0000 Subject: [PATCH] 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 --- games/leela-zero/Makefile | 2 +- games/leela-zero/files/patch-CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/games/leela-zero/Makefile b/games/leela-zero/Makefile index bf38667618fd..6ad23573056c 100644 --- a/games/leela-zero/Makefile +++ b/games/leela-zero/Makefile @@ -3,7 +3,7 @@ PORTNAME= leela-zero DISTVERSIONPREFIX= v DISTVERSION= 0.17 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MAINTAINER= yuri@FreeBSD.org diff --git a/games/leela-zero/files/patch-CMakeLists.txt b/games/leela-zero/files/patch-CMakeLists.txt index 703b1d13ef29..01934f1531ec 100644 --- a/games/leela-zero/files/patch-CMakeLists.txt +++ b/games/leela-zero/files/patch-CMakeLists.txt @@ -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}")