aboutsummaryrefslogtreecommitdiff
path: root/gcc/common.opt
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2012-11-17 20:31:06 +0000
committerH.J. Lu <hongjiu.lu@intel.com>2012-11-17 20:31:06 +0000
commitaf477e147fa8857610e7827eb920b3de33f005ca (patch)
tree2d820ab7aa3aa6203fee051f0c0d85dc991da942 /gcc/common.opt
parent3ef13fd6fd71f0fb5ec12c080530d33d26192308 (diff)
Add -static-libasan option to the GCC driver
* common.opt (static-libasan): New option. * gcc.c (LIBASAN_SPEC): New macro. (LINK_COMMAND_SPEC): Replace -lasan with LIBASAN_SPEC. * doc/invoke.texi: Document -static-libasan. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@193589 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/common.opt')
-rw-r--r--gcc/common.opt3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/common.opt b/gcc/common.opt
index 0a7c953942e..be6fe4f35d2 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -2516,6 +2516,9 @@ static-libgo
Driver
; Documented for Go, but always accepted by driver.
+static-libasan
+Driver
+
symbolic
Driver