about summary refs log tree commit diff
path: root/tests/codegen/macos/x86_64-macosx-deployment-target.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/codegen/macos/x86_64-macosx-deployment-target.rs')
-rw-r--r--tests/codegen/macos/x86_64-macosx-deployment-target.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/macos/x86_64-macosx-deployment-target.rs b/tests/codegen/macos/x86_64-macosx-deployment-target.rs
index a40deca24bb..bd8c027a9fb 100644
--- a/tests/codegen/macos/x86_64-macosx-deployment-target.rs
+++ b/tests/codegen/macos/x86_64-macosx-deployment-target.rs
@@ -2,7 +2,7 @@
 // Checks that we correctly modify the target when MACOSX_DEPLOYMENT_TARGET is set.
 // See issue #60235.
 
-//@ compile-flags: -O --target=x86_64-apple-darwin --crate-type=rlib
+//@ compile-flags: -Copt-level=3 --target=x86_64-apple-darwin --crate-type=rlib
 //@ needs-llvm-components: x86
 //@ rustc-env:MACOSX_DEPLOYMENT_TARGET=10.14
 #![feature(no_core, lang_items)]