From: Jeongmo Yang Date: Wed, 8 Nov 2023 05:09:47 +0000 (+0900) Subject: Add build option for security X-Git-Tag: accepted/tizen/7.0/unified/20231109.182258^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=78fdadd955fca77ec4143d8bf1d6fff6d50a18da;p=platform%2Fupstream%2Flibvpx.git Add build option for security [Version] 1.10.0-2 [Issue Type] Security Change-Id: Id80741fcd965e32d5132c5550acb972e05e28134 Signed-off-by: Jeongmo Yang --- 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