diff --git a/anjuta.spec b/anjuta.spec index b268a86..a9bf16a 100644 --- a/anjuta.spec +++ b/anjuta.spec @@ -1,6 +1,6 @@ Name: anjuta Version: 1.2.2 -Release: 5 +Release: 6 Epoch: 1 Summary: GNOME IDE for C and C++ @@ -52,8 +52,10 @@ Anjuta documentations. %build - -%configure --enable-final +# configure option --enable-final does not work corretly on x86_64; Use +# -DNDEBUG in CFLAGS +export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG" CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG" +%configure %define libnoprefix %(echo %_libdir | sed 's,%_prefix/,,') sed -i -e 's!\(.*PACKAGE_PLUGIN_DIR@,.*\)lib\(/anjuta.*\)!\1%{libnoprefix}\2!g' config.status ; ./config.status make @@ -120,6 +122,11 @@ scrollkeeper-update -q %changelog +* Thu Feb 10 2005 Thorsten Leemhuis - 1.2.2-6 +- configure option --enable-final does not work correctly on x86_64; + Use -DNDEBUG in CFLAGS as suggested my Michael Schwendt; + Fixes x86_64 crash (#147010) + * Thu Dec 16 2004 Michael Schwendt - 1:1.2.2-5 - Add some sed magic in %%build which assumedly fixes x86_64 install.