summaryrefslogtreecommitdiffstats
path: root/gcc/common.opt
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2012-11-17 20:31:06 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2012-11-17 20:31:06 +0000
commit6db5160ae1650270785941c03ab109501f7b281c (patch)
tree2d820ab7aa3aa6203fee051f0c0d85dc991da942 /gcc/common.opt
parentc6ec65060743208fbb45a7ce17fe632c4a820b9c (diff)
downloadppe42-gcc-6db5160ae1650270785941c03ab109501f7b281c.tar.gz
ppe42-gcc-6db5160ae1650270785941c03ab109501f7b281c.zip
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: svn+ssh://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
OpenPOWER on IntegriCloud