freebsd-ports/audio/gmsynth-lv2/files/patch-Makefile
Yuri Victorovich eec059384a audio/gmsynth-lv2: fix build with GCC-based architectures
It was a missing patch for Makefile, that the port option was relying on.
Also, rename the option SSE->SIMD.

PR:		235987
Reported by:	Piotr Kubaj <pkubaj@anongoth.pl>
2019-02-24 17:30:52 +00:00

11 lines
494 B
Text

--- Makefile.orig 2019-02-24 17:24:37 UTC
+++ Makefile
@@ -9,7 +9,7 @@ MANDIR ?= $(PREFIX)/share/man/man1
# see http://lv2plug.in/pages/filesystem-hierarchy-standard.html, don't use libdir
LV2DIR ?= $(PREFIX)/lib/lv2
-OPTIMIZATIONS ?= -msse -msse2 -mfpmath=sse -ffast-math -fomit-frame-pointer -O3 -fno-finite-math-only -DNDEBUG
+OPTIMIZATIONS ?= $(PORT_SIMD_FLAGS) -ffast-math -fomit-frame-pointer -fno-finite-math-only -DNDEBUG
CFLAGS ?= -Wall -g -Wno-unused-function
STRIP ?= strip