1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

audio/gmsynth-lv2: Fix SIMD flags handling

This commit is contained in:
Yuri Victorovich 2018-06-09 23:28:05 +00:00
parent 5612ddfd0f
commit 0bdbffbf75
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=472101
2 changed files with 11 additions and 3 deletions

View File

@ -32,7 +32,6 @@ OPTIONS_DEFINE_i386= SSE
OPTIONS_DEFAULT_amd64= SSE
OPTIONS_DEFAULT_i386= SSE
SSE_MAKE_ENV= OPTIMIZATIONS="-msse -msse2 -mfpmath=sse -DNDEBUG"
SSE_MAKE_ENV_OFF= OPTIMIZATIONS="-DNDEBUG"
SSE_MAKE_ENV= PORT_SIMD_FLAGS="-msse -msse2 -mfpmath=sse"
.include <bsd.port.mk>

View File

@ -1,5 +1,14 @@
--- Makefile.orig 2018-03-10 23:08:50 UTC
--- Makefile.orig 2017-09-08 18:49:05 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
@@ -136,13 +136,13 @@ FLUID_SRC = \
fluidsynth/src/fluid_settings.c \
fluidsynth/src/fluid_sys.c