audio/tetraproc: Remove march=native.

It breaks runtime on x86 arch and fails to build on non x86 arch.

Approved by:	portmgr (build fix blanket)
This commit is contained in:
Mikael Urankar 2021-11-13 17:10:48 +01:00
parent 128e4bb46e
commit be4b7de792
2 changed files with 11 additions and 1 deletions

View file

@ -1,6 +1,6 @@
PORTNAME= tetraproc
DISTVERSION= 0.8.6
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= https://kokkinizita.linuxaudio.org/linuxaudio/downloads/

View file

@ -0,0 +1,10 @@
--- Makefile.orig 2021-11-13 16:08:17 UTC
+++ Makefile
@@ -25,7 +25,6 @@ SHARED ?= $(PREFIX)/share/tetraproc
VERSION = 0.8.6
CPPFLAGS += -MMD -MP -DVERSION=\"$(VERSION)\" -DSHARED=\"$(SHARED)\"
CXXFLAGS += -O2 -Wall -ffast-math
-CXXFLAGS += -march=native
LDFLAGS += -pthread