diff --git a/bolt/test/max-funcs.test b/bolt/test/max-funcs.test index c7cd7be12476..f83a2a4caae9 100644 --- a/bolt/test/max-funcs.test +++ b/bolt/test/max-funcs.test @@ -3,7 +3,7 @@ REQUIRES: system-linux -RUN: %clangxx %p/Inputs/bolt_icf.cpp -g -Wl,-q -o %t.exe +RUN: %clangxx %cxxflags %p/Inputs/bolt_icf.cpp -g -Wl,-q -o %t.exe RUN: llvm-bolt %t.exe --relocs -o %t --max-funcs=2 RUN: llvm-objdump -d -j .text %t | FileCheck %s