diff --git a/mozc.spec b/mozc.spec index fd27c73..3817935 100644 --- a/mozc.spec +++ b/mozc.spec @@ -90,7 +90,7 @@ This package contains the Input Method Engine for IBus. %prep %setup -q -c -n %{name}-%{version} -a 2 -a 3 %patch0 -p1 -b .0-ninja -#%%patch1 -p1 -b .1-gcc +%patch1 -p1 -b .1-gcc %patch2 -p1 -b .2-verbose %patch3 -p1 -b .3-build-id %patch4 -p1 -b .4-stdc @@ -102,7 +102,7 @@ PYTHONPATH="${PYTHONPATH}:../.." python ../../dictionary/gen_zip_code_seed.py -- %build # replace compiler flags to build with the proper debugging information t=`mktemp /tmp/mozc.gyp-XXXXXXXX` -opts=$(for i in $(echo $RPM_OPT_FLAGS|sed -e 's/-fstack-clash-protection//g' -e 's/-fcf-protection//g'); do +opts=$(for i in $(echo $RPM_OPT_FLAGS); do #|sed -e 's/-fstack-clash-protection//g' -e 's/-fcf-protection//g'); do echo "i \\" echo "\"$i\"," done)