[Tizen] Add support for gbs build for i586, x86_64, armv7l, armv7hl, aarch64 (includi...
[platform/upstream/dotnet/runtime.git] / eng / build.sh
index 8836bde..65a7830 100755 (executable)
@@ -79,6 +79,7 @@ usage()
   echo "  --keepnativesymbols        Optional argument: set to true to keep native symbols/debuginfo in generated binaries."
   echo "  --ninja                    Optional argument: set to true to use Ninja instead of Make to run the native build."
   echo "  --pgoinstrument            Optional argument: build PGO-instrumented runtime"
+  echo "  --nopgooptimize            Optional argument: build without PGO optimization"
   echo ""
 
   echo "Command line arguments starting with '/p:' are passed through to MSBuild."
@@ -450,6 +451,11 @@ while [[ $# > 0 ]]; do
       shift 1
       ;;
 
+      -nopgooptimize)
+      arguments="$arguments /p:NoPgoOptimize=true"
+      shift 1
+      ;;
+
       *)
       extraargs="$extraargs $1"
       shift 1