forked from OSchip/llvm-project
[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:
parent
4ad8952d2d
commit
750d17bb72
|
@ -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})
|
||||
|
|
Loading…
Reference in New Issue