Enable -fPIE, and -pie in tsan build. We're already -fPIC.
R=mtklein@google.com Review URL: https://codereview.chromium.org/26142003 git-svn-id: http://skia.googlecode.com/svn/trunk@11701 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
1b440d1574
commit
27d4ffe352
@ -289,6 +289,12 @@
|
||||
'conditions' : [
|
||||
[ 'skia_sanitizer == "thread"', {
|
||||
'defines': [ 'DYNAMIC_ANNOTATIONS_ENABLED=1' ],
|
||||
'target_conditions': [
|
||||
[ '_type == "executable"', {
|
||||
'cflags': [ '-fPIE' ],
|
||||
'ldflags': [ '-pie' ],
|
||||
}],
|
||||
],
|
||||
}],
|
||||
],
|
||||
}],
|
||||
|
Loading…
Reference in New Issue
Block a user