diff --git a/src/coreclr/crossgen-corelib.proj b/src/coreclr/crossgen-corelib.proj
index 2dc62b8151a3ce..e0bef5d3b31546 100644
--- a/src/coreclr/crossgen-corelib.proj
+++ b/src/coreclr/crossgen-corelib.proj
@@ -127,7 +127,6 @@
$(CrossGenDllCmd) --targetarch:$(TargetArchitecture)
$(CrossGenDllCmd) --targetos:$(TargetOS)
$(CrossGenDllCmd) -m:$(MergedMibcPath) --embed-pgo-data
- $(CrossGenDllCmd) -O
$(CrossGenDllCmd) --verify-type-and-field-layout
$(CrossGenDllCmd) @(CoreLib)
diff --git a/src/tests/Common/CLRTest.CrossGen.targets b/src/tests/Common/CLRTest.CrossGen.targets
index a69ae678bb32c9..481a79a5075d34 100644
--- a/src/tests/Common/CLRTest.CrossGen.targets
+++ b/src/tests/Common/CLRTest.CrossGen.targets
@@ -1,6 +1,6 @@