-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: falkTX <falktx@falktx.com>
- Loading branch information
Showing
8 changed files
with
1,517 additions
and
10 deletions.
There are no files selected for viewing
1,442 changes: 1,442 additions & 0 deletions
1,442
plugins/package/caps-lv2/005_fix-macos-build.patch
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
diff --git a/plugin/gx_quack.cpp b/plugin/gx_quack.cpp | ||
index f416239..c68aac9 100644 | ||
--- a/plugin/gx_quack.cpp | ||
+++ b/plugin/gx_quack.cpp | ||
@@ -26,8 +26,13 @@ | ||
|
||
///////////////////////// MACRO SUPPORT //////////////////////////////// | ||
|
||
+#ifndef __APPLE__ | ||
#define __rt_func __attribute__((section(".rt.text"))) | ||
#define __rt_data __attribute__((section(".rt.data"))) | ||
+#else | ||
+#define __rt_func | ||
+#define __rt_data | ||
+#endif | ||
|
||
///////////////////////// FAUST SUPPORT //////////////////////////////// | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
diff --git a/Makefile b/Makefile | ||
index 4afe655..9cd20b5 100644 | ||
--- a/Makefile | ||
+++ b/Makefile | ||
@@ -33,9 +33,6 @@ gen: plugins dpf/utils/lv2_ttl_generator | ||
#@$(CURDIR)/dpf/utils/generate-ttl.sh | ||
cp plugins/$(MIXER_MONO)/lv2-data/* bin/$(MIXER_MONO).lv2/ | ||
cp plugins/$(MIXER_STEREO)/lv2-data/* bin/$(MIXER_STEREO).lv2/ | ||
-ifeq ($(MACOS),true) | ||
- @$(CURDIR)/dpf/utils/generate-vst-bundles.sh | ||
-endif | ||
|
||
dpf/utils/lv2_ttl_generator: | ||
$(MAKE) -C dpf/utils/lv2-ttl-generator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
diff --git a/source/mod-logic-operators/Makefile b/source/mod-logic-operators/Makefile | ||
index 73645f2..21bb552 100644 | ||
--- a/source/mod-logic-operators/Makefile | ||
+++ b/source/mod-logic-operators/Makefile | ||
@@ -25,9 +25,6 @@ ifneq ($(CROSS_COMPILING),true) | ||
gen: plugins dpf/utils/lv2_ttl_generator | ||
#@$(CURDIR)/dpf/utils/generate-ttl.sh | ||
cp -r plugins/logic-operators/lv2-data/* bin/logic-operators.lv2/ | ||
-ifeq ($(MACOS),true) | ||
- @$(CURDIR)/dpf/utils/generate-vst-bundles.sh | ||
-endif | ||
|
||
dpf/utils/lv2_ttl_generator: | ||
$(MAKE) -C dpf/utils/lv2-ttl-generator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
diff --git a/Makefile.mk b/Makefile.mk | ||
index edb804b..0e9d6d8 100644 | ||
--- a/Makefile.mk | ||
+++ b/Makefile.mk | ||
@@ -3,8 +3,12 @@ | ||
CXX ?= g++ | ||
|
||
# flags | ||
-CXXFLAGS += -O3 -ffast-math -Wall -fPIC -DPIC $(shell pkg-config --cflags fftw3f) -I. -I../Shared_files | ||
-LDFLAGS += -shared -Wl,-O1 -Wl,--as-needed -Wl,--no-undefined -Wl,--strip-all $(shell pkg-config --libs fftw3f) -larmadillo -lm | ||
+CXXFLAGS += -O3 -ffast-math -Wall -fPIC -DPIC $(shell pkg-config --cflags fftw3f) -I. -I../Shared_files -std=gnu++11 | ||
+LDFLAGS += -shared $(shell pkg-config --libs fftw3f) -larmadillo -lm | ||
+ | ||
+ifneq ($(MACOS),true) | ||
+LDFLAGS += -Wl,-O1,--as-needed,--no-undefined,--strip-all | ||
+endif | ||
|
||
ifneq ($(NOOPT),true) | ||
CXXFLAGS += -mtune=generic -msse -msse2 -mfpmath=sse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters