modify spec add LDFLAG master release-20160315 release-20160411 release-20160615
authorshuai.fu <shuai01.fu@samsung.com>
Mon, 25 Jan 2016 03:59:28 +0000 (11:59 +0800)
committershuai.fu <shuai01.fu@samsung.com>
Mon, 25 Jan 2016 03:59:28 +0000 (11:59 +0800)
Change-Id: Ib9748154c8940244c78c63af2ac2acc97d93000e
Signed-off-by: shuai.fu <shuai01.fu@samsung.com>
packaging/xdelta.spec

index b1862db..4026e2d 100644 (file)
@@ -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