[packages/mosh] build with --disable-silent-rules
glen
glen at pld-linux.org
Sat May 2 15:20:58 CEST 2015
commit c5194fa96898f32fbd23b70d5a0a5a490475739f
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat May 2 16:20:47 2015 +0300
build with --disable-silent-rules
mosh.spec | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
---
diff --git a/mosh.spec b/mosh.spec
index e84f5a8..522d2c7 100644
--- a/mosh.spec
+++ b/mosh.spec
@@ -1,8 +1,5 @@
-#
-
-# Conditional build:
-%bcond_without verbose # verbose build (V=1)
+# force gcc4 for ac
%if "%{pld_release}" == "ac"
# add suffix, but allow ccache, etc in ~/.rpmmacros
%{expand:%%define __cc %(echo '%__cc' | sed -e 's,-gcc,-gcc4,')}
@@ -54,11 +51,11 @@ especially over Wi-Fi, cellular, and long-distance links.
%{__sed} -i -e '1s,^#!.*perl,#!%{__perl},' scripts/mosh
%build
+CPPFLAGS="-I/usr/include/ncurses"
%configure \
- --enable-compile-warnings=error \
- CPPFLAGS="-I/usr/include/ncurses"
-%{__make} \
- %{?with_verbose:V=1}
+ --disable-silent-rules \
+ --enable-compile-warnings=error
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mosh.git/commitdiff/c5194fa96898f32fbd23b70d5a0a5a490475739f
More information about the pld-cvs-commit
mailing list