SPECS: ekg2.spec - don't disable optimization

qboosh qboosh at pld-linux.org
Tue May 6 21:44:59 CEST 2008


Author: qboosh                       Date: Tue May  6 19:44:59 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- don't disable optimization

---- Files affected:
SPECS:
   ekg2.spec (1.84 -> 1.85) 

---- Diffs:

================================================================
Index: SPECS/ekg2.spec
diff -u SPECS/ekg2.spec:1.84 SPECS/ekg2.spec:1.85
--- SPECS/ekg2.spec:1.84	Fri May  2 14:07:55 2008
+++ SPECS/ekg2.spec	Tue May  6 21:44:54 2008
@@ -275,6 +275,8 @@
 %{__autoconf}
 %{__autoheader}
 %{__automake}
+# for hostent.h_addr (should be in CPPFLAGS, but it's overridden in plugins/jabber)
+CFLAGS="%{rpmcflags} -D_GNU_SOURCE"
 %configure \
 	--enable-unicode \
 	--with%{!?with_aspell:out}-aspell \
@@ -291,8 +293,7 @@
 	--with%{!?with_sqlite3:out}-sqlite3 \
 	--with%{!?with_xosd:out}-xosd
 
-%{__make} \
-	CFLAGS="-D_GNU_SOURCE"
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -441,6 +442,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.85  2008-05-06 19:44:54  qboosh
+- don't disable optimization
+
 Revision 1.84  2008-05-02 12:07:55  areq
 - -D_GNU_SOURCE
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/ekg2.spec?r1=1.84&r2=1.85&f=u



More information about the pld-cvs-commit mailing list