!19 [sync] PR-14: 增加BIND_NOW安全编译选项
From: @openeuler-sync-bot Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
84a19d386c
25
0001-fix-missing-bind_now.patch
Normal file
25
0001-fix-missing-bind_now.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From dcc6439b854a0e1728c1f0a8dc451c53621c61e6 Mon Sep 17 00:00:00 2001
|
||||
From: sunguoshuai <sunguoshuai@huawei.com>
|
||||
Date: Wed, 1 Sep 2021 17:01:28 +0800
|
||||
Subject: [PATCH] fix missing bind_now
|
||||
|
||||
---
|
||||
src/makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/makefile b/src/makefile
|
||||
index 886237f..c2715df 100644
|
||||
--- a/src/makefile
|
||||
+++ b/src/makefile
|
||||
@@ -15,7 +15,7 @@ INSTALL_BINARY_DIR = /usr/bin/
|
||||
|
||||
INCLUDES = -I.
|
||||
LIBRARIES = -ldl -lm
|
||||
-CFLAGS = $(INCLUDES) -Wall -Werror -O3 -fPIC
|
||||
+CFLAGS = $(INCLUDES) -Wall -Werror -O3 -fPIC -Wl,-z,now
|
||||
CXXFLAGS = $(CFLAGS)
|
||||
PLUGINS = ../plugins/amp.so \
|
||||
../plugins/delay.so \
|
||||
--
|
||||
2.30.0
|
||||
|
||||
@ -1,11 +1,12 @@
|
||||
Name: ladspa
|
||||
Version: 1.13
|
||||
Release: 22
|
||||
Release: 23
|
||||
Summary: Linux Audio Developer's Simple Plugin API (LADSPA)
|
||||
License: LGPLv2+
|
||||
License: LGPLv2.1-only
|
||||
URL: http://www.ladspa.org/
|
||||
Source: http://www.ladspa.org/download/%{name}_sdk_%{version}.tgz
|
||||
Patch0001: ladspa-1.13-plugindir.patch
|
||||
Patch0002: 0001-fix-missing-bind_now.patch
|
||||
BuildRequires: perl-interpreter gcc-c++
|
||||
|
||||
%description
|
||||
@ -50,5 +51,8 @@ mkdir -p $RPM_BUILD_ROOT%{_datadir}/ladspa/rdf
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Sep 1 2021 Zhengtang Gong <gongzhengtang@huawei.com> - 1.13-23
|
||||
- add bind now
|
||||
|
||||
* Fri Nov 8 2019 Yiru Wang <wangyiru1@huawei.com> - 1.13-22
|
||||
- Pakcage init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user