diff options
author | Alexander Chernyakhovsky <achernya@mit.edu> | 2012-04-28 14:07:45 -0400 |
---|---|---|
committer | Alexander Chernyakhovsky <achernya@mit.edu> | 2012-04-28 14:07:45 -0400 |
commit | d07a2c565d154f77a124f48c9e09121c0ba56830 (patch) | |
tree | d0767268dfb6bf415deee5e64aa7a01912d83c7b | |
parent | 0df58a90da7d57ea1cda0a0b24fddfda97186a20 (diff) |
Build mosh with -g and -O2 on Fedora
-rw-r--r-- | fedora/mosh.spec | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/fedora/mosh.spec b/fedora/mosh.spec index 1df3df1..0543c2a 100644 --- a/fedora/mosh.spec +++ b/fedora/mosh.spec @@ -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+ @@ -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 @@ -49,7 +50,10 @@ make install DESTDIR=$RPM_BUILD_ROOT %changelog -* Fri Apr 27 2012 Alexander Chernyakhovsky <achernya@mit.edu> - 1.2 +* Sat Apr 28 2012 Alexander Chernyakhovsky <achernya@mit.edu> - 1.2-2 +- Add -g and -O2 CFLAGS + +* Fri Apr 27 2012 Alexander Chernyakhovsky <achernya@mit.edu> - 1.2-1 - Update to mosh 1.2. * Mon Mar 26 2012 Alexander Chernyakhovsky <achernya@mit.edu> - 1.1.1-1 |