git: c2cc5810d352 - main - games/trigger-rally: fix build on riscv64

Piotr Kubaj pkubaj at FreeBSD.org
Fri Jul 16 12:37:07 UTC 2021


The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c2cc5810d35278a48817e3aff78b61a3e4ec017f

commit c2cc5810d35278a48817e3aff78b61a3e4ec017f
Author:     Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-07-16 12:36:55 +0000
Commit:     Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-07-16 12:36:55 +0000

    games/trigger-rally: fix build on riscv64
    
    error: unknown target CPU 'native'
    note: valid target CPU values are: generic-rv64, rocket-rv64, sifive-7-rv64, sifive-u54, sifive-u74, generic, rocket, sifive-7-series
---
 games/trigger-rally/files/patch-GNUmakefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games/trigger-rally/files/patch-GNUmakefile b/games/trigger-rally/files/patch-GNUmakefile
index fc3be17a5198..b5d5bcb8b56d 100644
--- a/games/trigger-rally/files/patch-GNUmakefile
+++ b/games/trigger-rally/files/patch-GNUmakefile
@@ -5,7 +5,7 @@
  DEPFILES        := $(patsubst %.cpp, %.d, $(SRCFILES))
  WARNINGS        ?= -Wall -Wextra -pedantic
 -OPTIMS          ?= -march=native -mtune=native -Ofast
-+OPTIMS          ?= -mtune=native -Ofast
++OPTIMS          ?= -Ofast
  DMACROS         := -DNDEBUG -DUNIX -DPACKAGE_VERSION=\"$(DISTVER)\"
  INCDIRS         := -I'./include'
  CXXFLAGS        += -std=c++11 $(WARNINGS) $(OPTIMS)


More information about the dev-commits-ports-all mailing list