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 12:38:43 +0200
commit3b9fcdb30c9e94cb8e59d251bf10fe2e083e44f9 (patch)
tree5d4f3a557b4dac92decb3009c9b8bc81192f1c1c
parentc661a2b1b107aac846622d089bfeead677b32c84 (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