Skip to content

Commit 83b177e

Browse files
committed
Release 1.0.31
* Updated build scripts.
2 parents f35806a + e07971c commit 83b177e

File tree

5 files changed

+12
-7
lines changed

5 files changed

+12
-7
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
image: opensuse/leap:latest
9898
steps:
9999
- name: Install dependencies
100-
run: zypper --non-interactive --no-gpg-checks in tar gzip git make valgrind gcc gcc-c++
100+
run: zypper --non-interactive --no-gpg-checks in tar gzip git make valgrind gcc gcc-c++ glibc-locale
101101
- uses: actions/checkout@v3
102102
- name: Configure project
103103
run: make config TEST=1 STRICT=1
@@ -119,7 +119,7 @@ jobs:
119119
image: opensuse/tumbleweed:latest
120120
steps:
121121
- name: Install dependencies
122-
run: zypper --non-interactive --no-gpg-checks in tar gzip git make valgrind gcc gcc-c++ libstdc++-devel clang
122+
run: zypper --non-interactive --no-gpg-checks in tar gzip git make valgrind gcc gcc-c++ glibc-locale glibc-gconv-modules-extra libstdc++-devel clang
123123
- uses: actions/checkout@v3
124124
- name: Configure project
125125
run: make config TEST=1 STRICT=1 CC=clang CXX=clang++

CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
* RECENT CHANGES
33
*******************************************************************************
44

5+
=== 1.0.31 ===
6+
* Updated build scripts.
7+
58
=== 1.0.30 ===
69
* Added definitions for MacOS dependencies.
710
* Fixed several Clang warnings.

include/lsp-plug.in/test-fw/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
// Define header version
2626
#define LSP_TEST_FW_MAJOR 1
2727
#define LSP_TEST_FW_MINOR 0
28-
#define LSP_TEST_FW_MICRO 30
28+
#define LSP_TEST_FW_MICRO 31
2929

3030
#if defined(__WINDOWS__) || defined(__WIN32__) || defined(__WIN64__) || defined(_WIN64) || defined(_WIN32) || defined(__WINNT) || defined(__WINNT__)
3131
#define LSP_TEST_FW_EXPORT_MODIFIER __declspec(dllexport)

make/tools.mk

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ INSTALL ?= $(X_INSTALL_TOOL)
8989
FLAG_RELRO := -Wl,-z,relro,-z,now
9090
FLAG_STDLIB :=
9191
FLAG_GC_SECTIONS := -Wl,--gc-sections
92+
FLAG_AS_NEEDED := -Wl,-as-needed
9293
NOARCH_CFLAGS :=
9394
NOARCH_CXXFLAGS :=
9495
NOARCH_EXE_FLAGS :=
@@ -108,7 +109,8 @@ else ifeq ($(PLATFORM),Windows)
108109
NOARCH_LDFLAGS += -T $(CURDIR)/make/ld-windows.script
109110
else ifeq ($(PLATFORM),MacOS)
110111
FLAG_RELRO =
111-
FLAG_GC_SECTIONS =
112+
FLAG_GC_SECTIONS =
113+
FLAG_AS_NEEDED =
112114
NOARCH_CXXFLAGS += -std=c++0x
113115
NOARCH_LDFLAGS += -keep_private_externs
114116
else ifeq ($(PLATFORM),BSD)
@@ -200,11 +202,11 @@ NOARCH_LDFLAGS += -r
200202
LDFLAGS := $(ARCHITECTURE_LDFLAGS) $(NOARCH_LDFLAGS)
201203
HOST_LDFLAGS := $(HOST_ARCHITECTURE_LDFLAGS) $(NOARCH_LDFLAGS)
202204

203-
NOARCH_EXE_FLAGS += $(FLAG_RELRO) $(FLAG_GC_SECTIONS)
205+
NOARCH_EXE_FLAGS += $(FLAG_RELRO) $(FLAG_GC_SECTIONS) $(FLAG_AS_NEEDED)
204206
EXE_FLAGS := $(ARCHITECTURE_CFLAGS) $(NOARCH_EXE_FLAGS)
205207
HOST_EXE_FLAGS := $(HOST_ARCHITECTURE_CFLAGS) $(NOARCH_EXE_FLAGS)
206208

207-
NOARCH_SO_FLAGS += $(FLAG_RELRO) $(FLAG_GC_SECTIONS) -shared $(FLAG_STDLIB) -fPIC
209+
NOARCH_SO_FLAGS += $(FLAG_RELRO) $(FLAG_GC_SECTIONS) $(FLAG_AS_NEEDED) -shared $(FLAG_STDLIB) -fPIC
208210
SO_FLAGS := $(ARCHITECTURE_CFLAGS) $(NOARCH_SO_FLAGS)
209211
HOST_SO_FLAGS := $(HOST_ARCHITECTURE_CFLAGS) $(NOARCH_SO_FLAGS)
210212

project.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ ARTIFACT_ID = LSP_TEST_FW
2323
ARTIFACT_NAME = lsp-test-fw
2424
ARTIFACT_DESC = Test framework for executing automated and manual tests
2525
ARTIFACT_HEADERS = lsp-plug.in
26-
ARTIFACT_VERSION = 1.0.30
26+
ARTIFACT_VERSION = 1.0.31
2727
ARTIFACT_EXPORT_SYMBOLS = 1

0 commit comments

Comments
 (0)