Skip to content

Commit

Permalink
Flow TargetArchitecture always in Unix build script (#34300)
Browse files Browse the repository at this point in the history
  • Loading branch information
safern authored Mar 31, 2020
1 parent c7a1ef6 commit b85563d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eng/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ while [[ $# > 0 ]]; do
;;
-arch)
arch=$2
arguments="$arguments /p:TargetArchitecture=$2"
shift 2
;;
-configuration|-c)
Expand Down Expand Up @@ -213,5 +212,6 @@ initDistroRid $os $arch $crossBuild
# URL-encode space (%20) to avoid quoting issues until the msbuild call in /eng/common/tools.sh.
# In *proj files (XML docs), URL-encoded string are rendered in their decoded form.
cmakeargs="${cmakeargs// /%20}"
arguments="$arguments /p:TargetArchitecture=$arch"
arguments="$arguments /p:CMakeArgs=\"$cmakeargs\" $extraargs"
"$scriptroot/common/build.sh" $arguments

0 comments on commit b85563d

Please sign in to comment.