[packages/cross-binutils] pass CC

glen glen at pld-linux.org
Mon Jan 12 10:55:02 CET 2015


commit 3ceaf5478660eddc31792ed53069aa0ab5df0cd2
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Jan 12 11:54:52 2015 +0200

    pass CC

 cross-binutils.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/cross-binutils.spec b/cross-binutils.spec
index ae3495c..e59bb27 100644
--- a/cross-binutils.spec
+++ b/cross-binutils.spec
@@ -49,7 +49,7 @@
 Summary:	A GNU collection of cross-compilation binary utilities
 Name:		cross-binutils
 Version:	2.25
-Release:	0.9
+Release:	0.10
 License:	GPL v3+
 Group:		Development/Tools
 # Note - the Linux Kernel binutils releases are too unstable and contain too
@@ -337,6 +337,7 @@ config_target() {
 
 	# We could optimize the cross builds size by --enable-shared but the produced
 	# binaries may be less convenient in the embedded environment.
+	CC="%{__cc}" \
 	CFLAGS="%{rpmcflags}" \
 	LDFLAGS="%{rpmldflags} -Wl,-z,relro" \
 	../%{srcdir}/configure \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cross-binutils.git/commitdiff/3ceaf5478660eddc31792ed53069aa0ab5df0cd2



More information about the pld-cvs-commit mailing list