[packages/uboot] explicitly define target CC

atler atler at pld-linux.org
Mon Jul 5 21:28:32 CEST 2021


commit c93c2ef89ac592ce6e8a915d796ff5ddf2615346
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Jul 5 19:08:52 2021 +0000

    explicitly define target CC

 uboot.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/uboot.spec b/uboot.spec
index 9dd2e99..9d3643f 100644
--- a/uboot.spec
+++ b/uboot.spec
@@ -122,6 +122,7 @@ for config in %configs; do
 		cp -p /usr/share/arm-trusted-firmware/rk3399/* build/$config
 	fi
 	%{__make} ${config}_defconfig \
+		CC="%{__cc}" \
 		HOSTCC="%{__cc}" \
 		STRIP=: \
 		HOSTCFLAGS="%{rpmcflags}" \
@@ -130,6 +131,7 @@ for config in %configs; do
 		O=build/$config
 	%{__make} \
 		$(test "$config" = "tools-only" && echo tools-only) \
+		CC="%{__cc}" \
 		HOSTCC="%{__cc}" \
 		STRIP=: \
 		HOSTCFLAGS="%{rpmcflags}" \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/uboot.git/commitdiff/9dd38447ad0a325061f43813e8bf41259cf83d00



More information about the pld-cvs-commit mailing list