From 441c445e56ca4c602588fd97f1b8932fd2936207 Mon Sep 17 00:00:00 2001 From: Vladimir Sadovnikov Date: Sat, 12 Oct 2024 13:10:36 +0300 Subject: [PATCH 1/3] Version up --- CHANGELOG | 3 +++ project.mk | 2 +- src/main/meta/send.cpp | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index b2185ff..ab3b7c0 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,9 @@ * RECENT CHANGES ******************************************************************************* +=== 1.0.2 === + + === 1.0.1 === * Updated build scripts and dependencies. diff --git a/project.mk b/project.mk index 918b444..6fa5dd6 100644 --- a/project.mk +++ b/project.mk @@ -25,7 +25,7 @@ ARTIFACT_TYPE = plug ARTIFACT_DESC = LSP Audio Send Plugin ARTIFACT_HEADERS = lsp-plug.in ARTIFACT_EXPORT_HEADERS = 0 -ARTIFACT_VERSION = 1.0.1 +ARTIFACT_VERSION = 1.0.2-devel diff --git a/src/main/meta/send.cpp b/src/main/meta/send.cpp index 70826d9..c33da76 100644 --- a/src/main/meta/send.cpp +++ b/src/main/meta/send.cpp @@ -25,7 +25,7 @@ #define LSP_PLUGINS_SEND_VERSION_MAJOR 1 #define LSP_PLUGINS_SEND_VERSION_MINOR 0 -#define LSP_PLUGINS_SEND_VERSION_MICRO 1 +#define LSP_PLUGINS_SEND_VERSION_MICRO 2 #define LSP_PLUGINS_SEND_VERSION \ LSP_MODULE_VERSION( \ From fd3c6fcbdfb0b68d069fad40768fe904a3e6bf81 Mon Sep 17 00:00:00 2001 From: Vladimir Sadovnikov Date: Sun, 15 Dec 2024 17:51:59 +0300 Subject: [PATCH 2/3] Updated build scripts and dependencies --- CHANGELOG | 2 +- make/tools.mk | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index ab3b7c0..4fe7fe0 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -3,7 +3,7 @@ ******************************************************************************* === 1.0.2 === - +* Updated build scripts and dependencies. === 1.0.1 === * Updated build scripts and dependencies. diff --git a/make/tools.mk b/make/tools.mk index acc888a..59ac3f4 100644 --- a/make/tools.mk +++ b/make/tools.mk @@ -88,6 +88,7 @@ INSTALL ?= $(X_INSTALL_TOOL) # Patch flags and tools for (cross) build FLAG_RELRO := -Wl,-z,relro,-z,now FLAG_STDLIB := +FLAG_GC_SECTIONS := -Wl,--gc-sections NOARCH_CFLAGS := NOARCH_CXXFLAGS := NOARCH_EXE_FLAGS := @@ -105,6 +106,11 @@ else ifeq ($(PLATFORM),Windows) NOARCH_EXE_FLAGS += -static-libgcc -static-libstdc++ NOARCH_SO_FLAGS += -static-libgcc -static-libstdc++ NOARCH_LDFLAGS += -T $(CURDIR)/make/ld-windows.script +else ifeq ($(PLATFORM),MacOS) + FLAG_RELRO = + FLAG_GC_SECTIONS = + NOARCH_CXXFLAGS += -std=c++0x + NOARCH_LDFLAGS += -keep_private_externs else ifeq ($(PLATFORM),BSD) NOARCH_EXE_FLAGS += -L/usr/local/lib NOARCH_SO_FLAGS += -L/usr/local/lib @@ -194,11 +200,11 @@ NOARCH_LDFLAGS += -r LDFLAGS := $(ARCHITECTURE_LDFLAGS) $(NOARCH_LDFLAGS) HOST_LDFLAGS := $(HOST_ARCHITECTURE_LDFLAGS) $(NOARCH_LDFLAGS) -NOARCH_EXE_FLAGS += $(FLAG_RELRO) -Wl,--gc-sections +NOARCH_EXE_FLAGS += $(FLAG_RELRO) $(FLAG_GC_SECTIONS) EXE_FLAGS := $(ARCHITECTURE_CFLAGS) $(NOARCH_EXE_FLAGS) HOST_EXE_FLAGS := $(HOST_ARCHITECTURE_CFLAGS) $(NOARCH_EXE_FLAGS) -NOARCH_SO_FLAGS += $(FLAG_RELRO) -Wl,--gc-sections -shared $(FLAG_STDLIB) -fPIC +NOARCH_SO_FLAGS += $(FLAG_RELRO) $(FLAG_GC_SECTIONS) -shared $(FLAG_STDLIB) -fPIC SO_FLAGS := $(ARCHITECTURE_CFLAGS) $(NOARCH_SO_FLAGS) HOST_SO_FLAGS := $(HOST_ARCHITECTURE_CFLAGS) $(NOARCH_SO_FLAGS) From 8690cdccb0dbfd1b6660df5dd2c3af699254586e Mon Sep 17 00:00:00 2001 From: Vladimir Sadovnikov Date: Wed, 18 Dec 2024 02:34:48 +0300 Subject: [PATCH 3/3] Preparing for release --- project.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project.mk b/project.mk index 6fa5dd6..51fc442 100644 --- a/project.mk +++ b/project.mk @@ -25,7 +25,7 @@ ARTIFACT_TYPE = plug ARTIFACT_DESC = LSP Audio Send Plugin ARTIFACT_HEADERS = lsp-plug.in ARTIFACT_EXPORT_HEADERS = 0 -ARTIFACT_VERSION = 1.0.2-devel +ARTIFACT_VERSION = 1.0.2