Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Unified Diff: tools/gyp/configurations_make.gypi

Issue 1238003002: Force non-executable stack and enable stack canaries on Linux. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gyp/configurations_make.gypi
diff --git a/tools/gyp/configurations_make.gypi b/tools/gyp/configurations_make.gypi
index d8f796519b3e7509e06026cf43e18182bf50418e..a5f6fd5bec4b30c140063b49bf9802853f6d51ca 100644
--- a/tools/gyp/configurations_make.gypi
+++ b/tools/gyp/configurations_make.gypi
@@ -25,6 +25,10 @@
'-fno-exceptions',
# '-fvisibility=hidden',
# '-fvisibility-inlines-hidden',
+ '-fstack-protector',
+ ],
+ 'ldflags': [
+ '-Wa,--noexecstack',
],
},
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698