From: Jeongmo Yang Date: Wed, 8 Nov 2023 05:09:47 +0000 (+0900) Subject: Add build option for security X-Git-Tag: accepted/tizen/unified/20231109.053305^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Faccepted%2Ftizen_unified_dev;p=platform%2Fupstream%2Flibvpx.git Add build option for security [Version] 1.12.0-2 [Issue Type] Security Change-Id: Id80741fcd965e32d5132c5550acb972e05e28134 Signed-off-by: Jeongmo Yang --- diff --git a/packaging/libvpx.spec b/packaging/libvpx.spec index 18bede7..8f50ce4 100644 --- a/packaging/libvpx.spec +++ b/packaging/libvpx.spec @@ -1,6 +1,6 @@ Name: libvpx Version: 1.12.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