summaryrefslogtreecommitdiff
path: root/audio/fluidplug-lv2/files/patch-Makefile.mk
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-06-10 17:17:38 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-06-10 17:17:38 +0000
commit9bcb89e5668d90b73f02d2a19a0b09e91464c817 (patch)
tree19065b5fe2f052f899a9c627d6bdae5cfa1c8f0d /audio/fluidplug-lv2/files/patch-Makefile.mk
parentFix startup script for FreeBSD 10: -o option is unknown (diff)
audio/fluidplug-lv2: Unbreak on non-Intel/AMD platforms
Make SSE flags depend on the option SSE that defaults to 'on' only on amd64/i386 architectures.
Notes
Notes: svn path=/head/; revision=472149
Diffstat (limited to '')
-rw-r--r--audio/fluidplug-lv2/files/patch-Makefile.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/fluidplug-lv2/files/patch-Makefile.mk b/audio/fluidplug-lv2/files/patch-Makefile.mk
new file mode 100644
index 000000000000..e3b84dc780da
--- /dev/null
+++ b/audio/fluidplug-lv2/files/patch-Makefile.mk
@@ -0,0 +1,11 @@
+--- Makefile.mk.orig 2018-06-10 17:12:48 UTC
++++ Makefile.mk
+@@ -34,7 +34,7 @@ CXX ?= g++
+ # Set build and link flags
+
+ BASE_FLAGS = -Wall -Wextra -Wshadow -pipe
+-BASE_OPTS = -O2 -ffast-math -mtune=generic -msse -msse2 -mfpmath=sse -fdata-sections -ffunction-sections
++BASE_OPTS = -O2 -ffast-math -mtune=generic $(PORT_SIMD_FLAGS) -fdata-sections -ffunction-sections
+
+ ifeq ($(MACOS),true)
+ # MacOS linker flags