summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/chromium/nacl-cflags-remove-fstack-protector.patch
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2012-02-19 10:53:41 (GMT)
committerCecil <knoppmyth@gmail.com>2012-02-19 10:53:41 (GMT)
commita68f2e923097abf6613ce303f68a534b6cea99e3 (patch)
tree67cb5baa265402b67286468b809ea9b3a6788a21 /abs/extra/community/chromium/nacl-cflags-remove-fstack-protector.patch
parent76a6d7de125a0201d93ae90a33205533d66a93ee (diff)
downloadlinhes_pkgbuild-a68f2e923097abf6613ce303f68a534b6cea99e3.zip
linhes_pkgbuild-a68f2e923097abf6613ce303f68a534b6cea99e3.tar.gz
linhes_pkgbuild-a68f2e923097abf6613ce303f68a534b6cea99e3.tar.bz2
chromium:Bumped to latest (17.0.963.56).
Diffstat (limited to 'abs/extra/community/chromium/nacl-cflags-remove-fstack-protector.patch')
-rw-r--r--abs/extra/community/chromium/nacl-cflags-remove-fstack-protector.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/abs/extra/community/chromium/nacl-cflags-remove-fstack-protector.patch b/abs/extra/community/chromium/nacl-cflags-remove-fstack-protector.patch
new file mode 100644
index 0000000..0e4f7cf
--- /dev/null
+++ b/abs/extra/community/chromium/nacl-cflags-remove-fstack-protector.patch
@@ -0,0 +1,17 @@
+Index: src/trusted/service_runtime/linux/nacl_bootstrap.gyp
+diff --git a/src/trusted/service_runtime/linux/nacl_bootstrap.gyp b/src/trusted/service_runtime/linux/nacl_bootstrap.gyp
+index 66d95ca4dc98653219c965b899dbd5ad35d2960c..083e3fdd24ff4562d2037f8d17a06540e05357b8 100644
+--- a/src/trusted/service_runtime/linux/nacl_bootstrap.gyp
++++ b/src/trusted/service_runtime/linux/nacl_bootstrap.gyp
+@@ -84,6 +84,11 @@
+ '-fasan',
+ '-faddress-sanitizer',
+ '-w',
++ # We filter these out because release_extra_cflags or another
++ # such thing might be adding them in, and those options wind up
++ # coming after the -fno-stack-protector we added above.
++ '-fstack-protector',
++ '-fstack-protector-all',
+ ],
+ 'conditions': [
+ ['clang==1', {