[shiny: 5/7] don't ignore old LDFLAGS
Igor Gnatenko
ignatenkobrain at fedoraproject.org
Fri May 16 18:26:11 UTC 2014
commit e6d5c28f388a3aa546b6cfb3d0ebd227d2b32369
Author: Igor Gnatenko <i.gnatenko.brain at gmail.com>
Date: Wed May 14 20:22:35 2014 +0400
don't ignore old LDFLAGS
Signed-off-by: Igor Gnatenko <i.gnatenko.brain at gmail.com>
shiny.spec | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/shiny.spec b/shiny.spec
index 45c1db6..cad91d7 100644
--- a/shiny.spec
+++ b/shiny.spec
@@ -7,7 +7,7 @@
Name: shiny
Version: 0.2
-Release: 1.git%{shortcommit}%{?dist}
+Release: 3.git%{shortcommit}%{?dist}
Summary: Shader and material management library for OGRE
License: MIT
@@ -43,7 +43,7 @@ sed -i "s/@SOVERSION@/%{soversion}/" CMakeLists.txt
%build
-export LDFLAGS="-Wl,--as-needed"
+LDFLAGS="$LDFLAGS -Wl,--as-needed"; export LDFLAGS
pushd build
%cmake ../
make %{?_smp_mflags}
@@ -75,6 +75,9 @@ popd
%changelog
+* Wed May 14 2014 Igor Gnatenko <i.gnatenko.brain at gmail.com> - 0.2-3.gitf41178f
+- don't ignore old LDFLAGS
+
* Wed May 14 2014 Richard Shaw <hobbes1069 at gmail.com> - 0.2-2.gitf41178f
- Add patch to set soversion, install targets, and linking with Boost.
- Add LDFLAG option to prevent uncessary linking.
More information about the scm-commits
mailing list