devel/anjuta anjuta.spec,1.5,1.6

Thorsten Leemhuis (thl) fedora-extras-commits at redhat.com
Thu Feb 10 20:01:15 UTC 2005


Author: thl

Update of /cvs/extras/devel/anjuta
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14939

Modified Files:
	anjuta.spec 
Log Message:
Build without --enable-final but with special CFLAGS instead; Fix x86_64 crash (#147010)


Index: anjuta.spec
===================================================================
RCS file: /cvs/extras/devel/anjuta/anjuta.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- anjuta.spec	17 Dec 2004 09:52:25 -0000	1.5
+++ anjuta.spec	10 Feb 2005 20:01:13 -0000	1.6
@@ -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 @@
 
 
 %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 @@
 
 
 %changelog
+* Thu Feb 10 2005 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 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 <mschwendt[AT]users.sf.net> - 1:1.2.2-5
 - Add some sed magic in %%build which assumedly fixes x86_64 install.
 




More information about the fedora-extras-commits mailing list