From: bungeman@google.com Date: Thu, 10 Oct 2013 17:09:49 +0000 (+0000) Subject: Enable -fPIE, and -pie in tsan build. We're already -fPIC. X-Git-Tag: accepted/tizen/5.0/unified/20181102.025319~10514 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=27d4ffe352d2adc33517b725f312c308f7e34cd3;p=platform%2Fupstream%2FlibSkiaSharp.git 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 --- diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi index 22eb9a5..214bf27 100644 --- a/gyp/common_conditions.gypi +++ b/gyp/common_conditions.gypi @@ -289,6 +289,12 @@ 'conditions' : [ [ 'skia_sanitizer == "thread"', { 'defines': [ 'DYNAMIC_ANNOTATIONS_ENABLED=1' ], + 'target_conditions': [ + [ '_type == "executable"', { + 'cflags': [ '-fPIE' ], + 'ldflags': [ '-pie' ], + }], + ], }], ], }],