diff --git a/CHANGELOG b/CHANGELOG index b2185ff..4fe7fe0 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,9 @@ * RECENT CHANGES ******************************************************************************* +=== 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) diff --git a/project.mk b/project.mk index 918b444..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.1 +ARTIFACT_VERSION = 1.0.2 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( \