Skip to content

Commit

Permalink
Build mosh with -g and -O2 on Fedora
Browse files Browse the repository at this point in the history
  • Loading branch information
achernya committed Apr 28, 2012
1 parent 0df58a9 commit d07a2c5
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions fedora/mosh.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Name: mosh
Version: 1.2
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Mobile shell that supports roaming and intelligent local echo

License: GPLv3+
Expand Down Expand Up @@ -30,8 +30,9 @@ Mosh is a remote terminal application that supports:

%build
# Use upstream's more aggressive hardening instead of Fedora's defaults
export CFLAGS="-g -O2" CXXFLAGS="-g -O2"
%configure --enable-compile-warnings=error
make %{?_smp_mflags} CFLAGS="" CXXFLAGS=""
make %{?_smp_mflags}


%install
Expand All @@ -49,7 +50,10 @@ make install DESTDIR=$RPM_BUILD_ROOT


%changelog
* Fri Apr 27 2012 Alexander Chernyakhovsky <[email protected]> - 1.2
* Sat Apr 28 2012 Alexander Chernyakhovsky <[email protected]> - 1.2-2
- Add -g and -O2 CFLAGS

* Fri Apr 27 2012 Alexander Chernyakhovsky <[email protected]> - 1.2-1
- Update to mosh 1.2.

* Mon Mar 26 2012 Alexander Chernyakhovsky <[email protected]> - 1.1.1-1
Expand Down

0 comments on commit d07a2c5

Please sign in to comment.