1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

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
This commit is contained in:
Piotr Kubaj 2021-07-16 12:36:55 +00:00
parent a0638c6278
commit c2cc5810d3

View File

@ -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)