[shiny: 4/7] Add LDFLAG option to prevent uncessary linking.
Igor Gnatenko
ignatenkobrain at fedoraproject.org
Fri May 16 18:26:06 UTC 2014
commit d1fc19e5826d60f5c49ec528590a29e301183503
Author: Richard M. Shaw <hobbes1069 at gmail.com>
Date: Wed May 14 10:54:35 2014 -0500
Add LDFLAG option to prevent uncessary linking.
shiny.spec | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/shiny.spec b/shiny.spec
index 4543bf8..45c1db6 100644
--- a/shiny.spec
+++ b/shiny.spec
@@ -7,7 +7,7 @@
Name: shiny
Version: 0.2
-Release: 2.git%{shortcommit}%{?dist}
+Release: 1.git%{shortcommit}%{?dist}
Summary: Shader and material management library for OGRE
License: MIT
@@ -43,6 +43,7 @@ sed -i "s/@SOVERSION@/%{soversion}/" CMakeLists.txt
%build
+export LDFLAGS="-Wl,--as-needed"
pushd build
%cmake ../
make %{?_smp_mflags}
@@ -76,6 +77,7 @@ popd
%changelog
* 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.
* Wed May 14 2014 Igor Gnatenko <i.gnatenko.brain at gmail.com> - 0.2-1.gitf41178f
- Initial package
More information about the scm-commits
mailing list