From fb969bec734065065e49933644c3e6d9e3db866f Mon Sep 17 00:00:00 2001 From: Jeremy Koritzinsky Date: Mon, 21 Oct 2019 21:51:55 -0700 Subject: [PATCH] Fix -gcc flag in bash build scripts. (dotnet/coreclr#27339) Commit migrated from https://github.com/dotnet/coreclr/commit/f6c745f69a32da3eb7d101d59dffeb675525e531 --- src/coreclr/build-test.sh | 4 ++-- src/coreclr/build.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/coreclr/build-test.sh b/src/coreclr/build-test.sh index abf6671..f421706 100755 --- a/src/coreclr/build-test.sh +++ b/src/coreclr/build-test.sh @@ -522,8 +522,8 @@ build_native_projects() echo "Invoking \"$scriptDir/find-clang.sh\" $__ClangMajorVersion \"$__ClangMinorVersion\"" source "$scriptDir/find-clang.sh" $__ClangMajorVersion "$__ClangMinorVersion" else - echo "Invoking \"$scriptDir/find-gcc.sh\" $__GccMajorVersion \"$__GccMinorVersion\"" - source "$scriptDir/find-gcc.sh" $__GccMajorVersion "$__GccMinorVersion" + echo "Invoking \"$scriptDir/find-gcc.sh\" \"$__GccMajorVersion\" \"$__GccMinorVersion\"" + source "$scriptDir/find-gcc.sh" "$__GccMajorVersion" "$__GccMinorVersion" fi if [[ -n "$__CodeCoverage" ]]; then diff --git a/src/coreclr/build.sh b/src/coreclr/build.sh index efafbf8..99678f3 100755 --- a/src/coreclr/build.sh +++ b/src/coreclr/build.sh @@ -268,8 +268,8 @@ build_native() scan_build=scan-build fi else - echo "Invoking \"$scriptDir/find-gcc.sh\" $__GccMajorVersion \"$__GccMinorVersion\"" - source "$scriptDir/find-gcc.sh" $__GccMajorVersion "$__GccMinorVersion" + echo "Invoking \"$scriptDir/find-gcc.sh\" \"$__GccMajorVersion\" \"$__GccMinorVersion\"" + source "$scriptDir/find-gcc.sh" "$__GccMajorVersion" "$__GccMinorVersion" fi if [[ -n "$__CodeCoverage" ]]; then -- 2.7.4