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

Unified Diff: build/common.gypi

Issue 1555002: Disable executable stack on Linux. (Closed)
Patch Set: Created 10 years, 9 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: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 3b8f20e8c20bbb279fed1b19ad91f3779c59c65d..8794c5e50713733bfc80b7ab1e3fd1762c748ef7 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -726,7 +726,7 @@
'-fvisibility-inlines-hidden',
],
'ldflags': [
- '-pthread',
+ '-pthread', '-Wl,-z,noexecstack',
],
'scons_variable_settings': {
'LIBPATH': ['$LIB_DIR'],
« 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