mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-23 22:00:10 +00:00
[BOLT] Fix a wrong compiler option in test (#74420)
-nopie is an option for OpenBSD, and other linux distribution might report an `unsupported option '-nopie' for target` error.
This commit is contained in:
parent
19c9f9c0bf
commit
b304873134
@ -14,7 +14,7 @@ int main() {
|
||||
/*
|
||||
REQUIRES: system-linux,bolt-runtime
|
||||
|
||||
RUN: %clang %cflags %s -o %t.exe -Wl,-q -nopie -fpie
|
||||
RUN: %clang %cflags %s -o %t.exe -Wl,-q -no-pie -fpie
|
||||
|
||||
RUN: llvm-bolt %t.exe --instrument --instrumentation-file=%t.fdata \
|
||||
RUN: -o %t.instrumented
|
||||
|
Loading…
Reference in New Issue
Block a user