]> git.pld-linux.org Git - packages/ekg2.git/blobdiff - ekg2.spec
- don't disable optimization
[packages/ekg2.git] / ekg2.spec
index 850fe8e8cde94fe193d529ccc5218df9275acc4e..f36f1cdddbaee91e2155090f20ed56d4c5eb102c 100644 (file)
--- a/ekg2.spec
+++ b/ekg2.spec
@@ -274,6 +274,8 @@ cd ..
 %{__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 \
@@ -290,8 +292,7 @@ cd ..
        --with%{!?with_sqlite3:out}-sqlite3 \
        --with%{!?with_xosd:out}-xosd
 
-%{__make} \
-       CFLAGS="-D_GNU_SOURCE"
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.084905 seconds and 4 git commands to generate.