[BOLT][runtime] Change fPIE flag to fPIC

Since instrumentation could be used on libraries we need to use fPIC,
not fPIE flag.

Differential Revision: https://reviews.llvm.org/D138099
This commit is contained in:
Vladislav Khmelevsky 2022-11-16 12:15:15 +04:00
parent 4ad8952d2d
commit 750d17bb72
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ set(BOLT_RT_FLAGS
-fno-rtti
-fno-stack-protector
-mno-sse
-fPIE)
-fPIC)
# Don't let the compiler think it can create calls to standard libs
target_compile_options(bolt_rt_instr PRIVATE ${BOLT_RT_FLAGS})