diff --git a/bolt/test/X86/is-strip.s b/bolt/test/X86/is-strip.s --- a/bolt/test/X86/is-strip.s +++ b/bolt/test/X86/is-strip.s @@ -1,6 +1,6 @@ # This test checks whether a binary is stripped or not. -# RUN: %clang++ %p/Inputs/linenumber.cpp -o %t -Wl,-q +# RUN: %clang++ %cflags %p/Inputs/linenumber.cpp -o %t -Wl,-q # RUN: llvm-bolt %t -o %t.out 2>&1 | FileCheck %s -check-prefix=CHECK-NOSTRIP # RUN: cp %t %t.stripped # RUN: llvm-strip -s %t.stripped