[libguac/el6] Add optflags to build

Simone Caronni slaanesh at fedoraproject.org
Mon May 21 08:03:02 UTC 2012


commit 5ddb4c2b7327920d8763554f4d99977e1300cb95
Author: Simone Caronni <negativo17 at gmail.com>
Date:   Mon May 21 10:02:27 2012 +0200

    Add optflags to build

 libguac.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/libguac.spec b/libguac.spec
index 2a3d1a1..2e4a0b5 100644
--- a/libguac.spec
+++ b/libguac.spec
@@ -1,6 +1,6 @@
 Name:           libguac
 Version:        0.6.0
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        The common library used by all C components of Guacamole
 Group:          System Environment/Libraries
 License:        MPLv1.1 or GPLv2+ or LGPLv2+
@@ -36,7 +36,7 @@ developing applications that use %{name}.
 
 %build
 %configure --disable-static LIBS="-lrt"
-make %{?_smp_mflags}
+make %{?_smp_mflags} CFLAGS="%{optflags}"
 cd doc/
 doxygen Doxyfile
 
@@ -63,6 +63,9 @@ cp -fr doc/doxygen-output/html .
 
 
 %changelog
+* Mon May 21 2012 Simone Caronni <negativo17 at gmail.com> - 0.6.0-4
+- Added optimization flags to make command.
+
 * Mon May 14 2012 Simone Caronni <negativo17 at gmail.com> - 0.6.0-3
 - Added librt to configure.
 - Removed latex docs in devel packages.


More information about the scm-commits mailing list