tell Google3 we do not need executable stack

Change-Id: I5ff3599448d027fcac43a53e98a801ce672ce5ee
Reviewed-on: https://skia-review.googlesource.com/10861
Commit-Queue: Mike Klein <mtklein@chromium.org>
Reviewed-by: Mike Klein <mtklein@chromium.org>
This commit is contained in:
Mike Klein 2017-03-30 20:07:52 -04:00
parent 2f245be7be
commit 8517b4c87e
2 changed files with 3 additions and 1 deletions

View File

@ -10,6 +10,7 @@
#define HIDDEN .private_extern
#else
#define HIDDEN .hidden
.section .note.GNU-stack,"",%progbits
#endif
.text
#if defined(__aarch64__)

View File

@ -12,7 +12,7 @@ import sys
#clang = ['clang++']
clang = ['ccache', 'clang-4.0', '-x', 'c++']
ndk = '/Users/mtklein/brew/opt/android-ndk/'
ndk = '/Users/mtklein/ndk/'
objdump = 'gobjdump'
#ndk = '/home/mtklein/ndk/'
@ -138,6 +138,7 @@ print '#if defined(__MACH__)'
print ' #define HIDDEN .private_extern'
print '#else'
print ' #define HIDDEN .hidden'
print ' .section .note.GNU-stack,"",%progbits'
print '#endif'
print '.text'