summaryrefslogtreecommitdiff
path: root/audio/dpf-plugins-lv2/files/patch-Makefile.mk
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-08-18 07:03:28 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-08-18 07:03:28 +0000
commit2964bdd8c7c684aa3b9a5a0ac1af837551e97ff0 (patch)
treee1041f1ad9c762f1ad0a0a758e2440131455d320 /audio/dpf-plugins-lv2/files/patch-Makefile.mk
parentscience/rdkit: Update 2018_03_3 -> 2018_03_4 (diff)
New port: audio/dpf-plugins-lv2: Collection of DPF-based LV2 plugins
Notes
Notes: svn path=/head/; revision=477480
Diffstat (limited to 'audio/dpf-plugins-lv2/files/patch-Makefile.mk')
-rw-r--r--audio/dpf-plugins-lv2/files/patch-Makefile.mk27
1 files changed, 27 insertions, 0 deletions
diff --git a/audio/dpf-plugins-lv2/files/patch-Makefile.mk b/audio/dpf-plugins-lv2/files/patch-Makefile.mk
new file mode 100644
index 000000000000..64910b1c982f
--- /dev/null
+++ b/audio/dpf-plugins-lv2/files/patch-Makefile.mk
@@ -0,0 +1,27 @@
+--- Makefile.mk.orig 2018-04-27 06:05:19 UTC
++++ Makefile.mk
+@@ -23,7 +23,7 @@ endif
+ # Set build and link flags
+
+ BASE_FLAGS = -Wall -Wextra -pipe
+-BASE_OPTS = -O2 -ffast-math -mtune=generic -msse -msse2 -fdata-sections -ffunction-sections
++BASE_OPTS = -O2 -ffast-math -mtune=generic $(SIMD_FLAGS) -fdata-sections -ffunction-sections
+
+ ifneq ($(MACOS_OLD),true)
+ # Old MacOS doesn't support this
+@@ -35,13 +35,13 @@ ifeq ($(MACOS),true)
+ LINK_OPTS = -fdata-sections -ffunction-sections -Wl,-dead_strip -Wl,-dead_strip_dylibs
+ else
+ # Common linker flags
+-LINK_OPTS = -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,-O1 -Wl,--as-needed -Wl,--strip-all
++LINK_OPTS = -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,-O1 -Wl,--strip-all
+ endif
+
+ ifeq ($(RASPPI),true)
+ # Raspberry-Pi optimization flags
+ BASE_OPTS = -O2 -ffast-math -march=armv6 -mfpu=vfp -mfloat-abi=hard
+-LINK_OPTS = -Wl,-O1 -Wl,--as-needed -Wl,--strip-all
++LINK_OPTS = -Wl,-O1 -Wl,--strip-all
+ endif
+
+ ifeq ($(NOOPT),true)