summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshuai.fu <shuai01.fu@samsung.com>2016-01-25 11:59:28 +0800
committershuai.fu <shuai01.fu@samsung.com>2016-01-25 11:59:28 +0800
commitc87e815b17c5cd293e07e14b34f46b51c890d2ca (patch)
tree559f3c0c390a3dfb0e9e75e78ef018fc23486974
parentc5f4c18f1674ee0f41162490258e17671f21b5d8 (diff)
downloadxdelta1-release-20160411.tar.gz
xdelta1-release-20160411.tar.bz2
xdelta1-release-20160411.zip
Change-Id: Ib9748154c8940244c78c63af2ac2acc97d93000e Signed-off-by: shuai.fu <shuai01.fu@samsung.com>
-rw-r--r--packaging/xdelta.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/xdelta.spec b/packaging/xdelta.spec
index b1862db..4026e2d 100644
--- a/packaging/xdelta.spec
+++ b/packaging/xdelta.spec
@@ -37,6 +37,10 @@ chmod -x NEWS README COPYING
%build
autoreconf -fiv
+%if 0%{?fedora} == 23
+LDFLAGS='-Wl,-z,relro'
+export LDFLAGS
+%endif
%configure --disable-static
# IDIOT author overrides our cflags with -O3