Skip to content

Commit 9990804

Browse files
committed
Fix build with latest macOS
1 parent 2e2dd5e commit 9990804

File tree

3 files changed

+22
-10
lines changed

3 files changed

+22
-10
lines changed

plugins/package/dragonfly-reverb/01_optimizations.patch

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -878,12 +878,15 @@ diff --git a/plugins/dragonfly-early-reflections/Makefile b/plugins/dragonfly-ea
878878
index b30ea18..14d3a8a 100644
879879
--- a/plugins/dragonfly-early-reflections/Makefile
880880
+++ b/plugins/dragonfly-early-reflections/Makefile
881-
@@ -67,6 +67,9 @@ endif
881+
@@ -67,6 +67,12 @@ endif
882882
# TODO handle throw deprecation for freeverb
883883
BUILD_CXX_FLAGS += -Wno-deprecated
884884

885885
+# custom MOD flags
886-
+BUILD_CXX_FLAGS += -DDISABLE_UNDENORMAL -fomit-frame-pointer -ftree-vectorize -flto -ffat-lto-objects -fno-builtin -fsingle-precision-constant
886+
+BUILD_CXX_FLAGS += -DDISABLE_UNDENORMAL -fomit-frame-pointer -ftree-vectorize -flto -fno-builtin
887+
+ifneq ($(MACOS),true)
888+
+BUILD_CXX_FLAGS += -fsingle-precision-constant -ffat-lto-objects
889+
+endif
887890
+
888891
# --------------------------------------------------------------
889892
# Link dependencies
@@ -936,12 +939,15 @@ diff --git a/plugins/dragonfly-hall-reverb/Makefile b/plugins/dragonfly-hall-rev
936939
index 91a3c13..04afeec 100644
937940
--- a/plugins/dragonfly-hall-reverb/Makefile
938941
+++ b/plugins/dragonfly-hall-reverb/Makefile
939-
@@ -68,6 +68,9 @@ endif
942+
@@ -68,6 +68,12 @@ endif
940943
# TODO handle throw deprecation for freeverb
941944
BUILD_CXX_FLAGS += -Wno-deprecated
942945

943946
+# custom MOD flags
944-
+BUILD_CXX_FLAGS += -DDISABLE_UNDENORMAL -fomit-frame-pointer -ftree-vectorize -flto -ffat-lto-objects -fno-builtin -fsingle-precision-constant
947+
+BUILD_CXX_FLAGS += -DDISABLE_UNDENORMAL -fomit-frame-pointer -ftree-vectorize -flto -fno-builtin
948+
+ifneq ($(MACOS),true)
949+
+BUILD_CXX_FLAGS += -fsingle-precision-constant -ffat-lto-objects
950+
+endif
945951
+
946952
# --------------------------------------------------------------
947953
# Link dependencies
@@ -1006,12 +1012,15 @@ diff --git a/plugins/dragonfly-plate-reverb/Makefile b/plugins/dragonfly-plate-r
10061012
index f5c88df..105a4f6 100644
10071013
--- a/plugins/dragonfly-plate-reverb/Makefile
10081014
+++ b/plugins/dragonfly-plate-reverb/Makefile
1009-
@@ -71,6 +71,9 @@ BUILD_CXX_FLAGS += -Wno-unused-variable
1015+
@@ -71,6 +71,12 @@ BUILD_CXX_FLAGS += -Wno-unused-variable
10101016
# TODO handle throw deprecation for freeverb
10111017
BUILD_CXX_FLAGS += -Wno-deprecated
10121018

10131019
+# custom MOD flags
1014-
+BUILD_CXX_FLAGS += -DDISABLE_UNDENORMAL -fomit-frame-pointer -ftree-vectorize -flto -ffat-lto-objects -fno-builtin -fsingle-precision-constant
1020+
+BUILD_CXX_FLAGS += -DDISABLE_UNDENORMAL -fomit-frame-pointer -ftree-vectorize -flto -fno-builtin
1021+
+ifneq ($(MACOS),true)
1022+
+BUILD_CXX_FLAGS += -fsingle-precision-constant -ffat-lto-objects
1023+
+endif
10151024
+
10161025
# --------------------------------------------------------------
10171026
# Link dependencies
@@ -1089,12 +1098,15 @@ diff --git a/plugins/dragonfly-room-reverb/Makefile b/plugins/dragonfly-room-rev
10891098
index db70159..7f2f273 100644
10901099
--- a/plugins/dragonfly-room-reverb/Makefile
10911100
+++ b/plugins/dragonfly-room-reverb/Makefile
1092-
@@ -68,6 +68,9 @@ endif
1101+
@@ -68,6 +68,12 @@ endif
10931102
# TODO handle throw deprecation for freeverb
10941103
BUILD_CXX_FLAGS += -Wno-deprecated
10951104

10961105
+# custom MOD flags
1097-
+BUILD_CXX_FLAGS += -DDISABLE_UNDENORMAL -fomit-frame-pointer -ftree-vectorize -flto -ffat-lto-objects -fno-builtin -fsingle-precision-constant
1106+
+BUILD_CXX_FLAGS += -DDISABLE_UNDENORMAL -fomit-frame-pointer -ftree-vectorize -flto -fno-builtin
1107+
+ifneq ($(MACOS),true)
1108+
+BUILD_CXX_FLAGS += -fsingle-precision-constant -ffat-lto-objects
1109+
+endif
10981110
+
10991111
# --------------------------------------------------------------
11001112
# Link dependencies

plugins/package/fluidplug-labs/fluidplug-labs.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
######################################
66

7-
FLUIDPLUG_LABS_VERSION = 889b2568f5c4483b1c72b5d82e4090e27ef824de
7+
FLUIDPLUG_LABS_VERSION = 1cf494cb3a5b1f7f2a95f872768a1eef141c3e0a
88
FLUIDPLUG_LABS_SITE = $(call github,falkTX,FluidPlug,$(FLUIDPLUG_LABS_VERSION))
99
FLUIDPLUG_LABS_DEPENDENCIES = fluidsynth host-p7zip-light
1010
FLUIDPLUG_LABS_BUNDLES = AirFont320.lv2 AVL_Drumkits_Perc.lv2

plugins/package/fluidplug/fluidplug.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
######################################
66

7-
FLUIDPLUG_VERSION = 38d7d0d5259c89199be3cf56768edf0d41bfd881
7+
FLUIDPLUG_VERSION = 1cf494cb3a5b1f7f2a95f872768a1eef141c3e0a
88
FLUIDPLUG_SITE = $(call github,falkTX,FluidPlug,$(FLUIDPLUG_VERSION))
99
FLUIDPLUG_DEPENDENCIES = fluidsynth host-p7zip-light
1010
FLUIDPLUG_BUNDLES = Black_Pearl_4A.lv2 Black_Pearl_4B.lv2 Black_Pearl_5.lv2 FluidBass.lv2 FluidBrass.lv2 FluidChromPerc.lv2 FluidDrums.lv2 FluidEnsemble.lv2 FluidEthnic.lv2 FluidGuitars.lv2 FluidOrgans.lv2 FluidPercussion.lv2 FluidPianos.lv2 FluidPipes.lv2 FluidReeds.lv2 FluidSoundFX.lv2 FluidStrings.lv2 FluidSynthFX.lv2 FluidSynthLeads.lv2 FluidSynthPads.lv2 Red_Zeppelin_4.lv2 Red_Zeppelin_5.lv2

0 commit comments

Comments
 (0)