From 78fdadd955fca77ec4143d8bf1d6fff6d50a18da Mon Sep 17 00:00:00 2001 From: Jeongmo Yang Date: Wed, 8 Nov 2023 14:09:47 +0900 Subject: [PATCH] Add build option for security [Version] 1.10.0-2 [Issue Type] Security Change-Id: Id80741fcd965e32d5132c5550acb972e05e28134 Signed-off-by: Jeongmo Yang --- packaging/libvpx.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packaging/libvpx.spec b/packaging/libvpx.spec index 5a67a2a..ab03151 100644 --- a/packaging/libvpx.spec +++ b/packaging/libvpx.spec @@ -1,6 +1,6 @@ Name: libvpx Version: 1.10.0 -Release: 1 +Release: 2 License: BSD-3-Clause Summary: VP8 codec library Url: http://www.webmproject.org/ @@ -51,6 +51,7 @@ cp %{SOURCE1001} . %build cd build export CFLAGS="%{optflags}" +export LDFLAGS+=" -Wl,-z,relro" %if "%{asan}" == "1" export LDFLAGS+=" -lasan" %endif -- 2.7.4