[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-rtti
|
||||||
-fno-stack-protector
|
-fno-stack-protector
|
||||||
-mno-sse
|
-mno-sse
|
||||||
-fPIE)
|
-fPIC)
|
||||||
|
|
||||||
# Don't let the compiler think it can create calls to standard libs
|
# Don't let the compiler think it can create calls to standard libs
|
||||||
target_compile_options(bolt_rt_instr PRIVATE ${BOLT_RT_FLAGS})
|
target_compile_options(bolt_rt_instr PRIVATE ${BOLT_RT_FLAGS})
|
||||||
|
|
Loading…
Reference in New Issue