Home Home > GIT Browse > linux-next
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Suchanek <msuchanek@suse.de>2019-07-27 12:37:26 +0200
committerMichal Suchanek <msuchanek@suse.de>2019-07-27 13:43:09 +0200
commitcbd56d52137a667bc8608ca4a2bb46261fa1ce56 (patch)
treeb8d1652f64bcb6c68e25af88005d1db3069c8638
parent629ccf301427524f1adcce172e72cbf17d59d140 (diff)
scripts/run_oldconfig.sh: Fix update-vanilla
When CC is set we want to use it for native only. Cross-compilation still needs the crosscompilers.
-rwxr-xr-xscripts/run_oldconfig.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/run_oldconfig.sh b/scripts/run_oldconfig.sh
index de637afa3a..3411750666 100755
--- a/scripts/run_oldconfig.sh
+++ b/scripts/run_oldconfig.sh
@@ -438,7 +438,7 @@ for config in $config_files; do
if [ -n "$cross_compile" -a -x /usr/bin/${cross_compile}gcc ]; then
MAKE_ARGS="$MAKE_ARGS CROSS_COMPILE=$cross_compile"
fi
- if [ -n "$CC" ]; then
+ if [ -n "$CC" -a -z "$cross_compile" ]; then
MAKE_ARGS="$MAKE_ARGS CC=$CC"
fi
if $silent; then