[mosh/el5: 1/2] Add -g -O2 back
Alex Chernyakhovsky
achernya at fedoraproject.org
Sat Apr 28 17:45:30 UTC 2012
commit dd7716b5d6e10e19357b602f81a3b361bf1f58b3
Author: Alexander Chernyakhovsky <achernya at mit.edu>
Date: Sat Apr 28 13:44:19 2012 -0400
Add -g -O2 back
mosh.spec | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/mosh.spec b/mosh.spec
index 1df3df1..95e5252 100644
--- a/mosh.spec
+++ b/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
More information about the scm-commits
mailing list