From e5d2c49f8882682dd464be6a7c6c6d159982c430 Mon Sep 17 00:00:00 2001 From: Ding-Yi Chen Date: Tue, 4 Mar 2014 12:01:16 +1000 Subject: [PATCH] CFLAGS: added -fstack-protector-strong --- libchewing.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libchewing.spec b/libchewing.spec index a0631f7..472517a 100644 --- a/libchewing.spec +++ b/libchewing.spec @@ -6,7 +6,7 @@ Name: libchewing Version: 0.3.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Intelligent phonetic input method library for Traditional Chinese Summary(zh_TW): %{name_zh_TW} @@ -68,7 +68,7 @@ mkdir -p contrib/python cp -p %SOURCE1 contrib/python %build -export CFLAGS=-DLIBINSTDIR='\"%{_libdir}\" -g' +CFLAGS="%{optflags} -g -DLIBINSTDIR='%{_libdir}'" autoreconf -ivf %configure --disable-static make V=1 RPM_CFLAGS="%{optflags}" %{_smp_mflags} @@ -115,10 +115,12 @@ fi %{libchewing_python_dir} %changelog +* Tue Mar 04 2014 Ding-Yi Chen - 0.3.5-2 +- CFLAGS: added -fstack-protector-strong + * Mon Oct 14 2013 Ding-Yi Chen - 0.3.5-1 - Upstream update to 0.3.5 - * Mon Jul 29 2013 Parag Nemade - 0.3.4-4 - spec file cleanup to follow packaging guidelines