diff options
author | fxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-06-11 19:57:04 +0000 |
---|---|---|
committer | fxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-06-11 19:57:04 +0000 |
commit | 31bcb5169912e7d9d37f1afc588fd94ed95171f1 (patch) | |
tree | f75cb7ddd7306ca8f9207b6c96c672096117ef55 /gcc/config/darwin9.h | |
parent | 520d23b7abe419c8e63ae9fc6e0622b1fc287ef0 (diff) | |
download | gcc-31bcb5169912e7d9d37f1afc588fd94ed95171f1.tar.gz |
* config/darwin.h (LINK_COMMAND_SPEC): Adjust spec to link libcov
when -fprofile-generate* was passed.
* config/darwin9.h (LINK_COMMAND_SPEC): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148394 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/darwin9.h')
-rw-r--r-- | gcc/config/darwin9.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/darwin9.h b/gcc/config/darwin9.h index 390f8e577fe..8c6f671b03b 100644 --- a/gcc/config/darwin9.h +++ b/gcc/config/darwin9.h @@ -32,7 +32,7 @@ along with GCC; see the file COPYING3. If not see %{o*}%{!o:-o a.out} \ %{!A:%{!nostdlib:%{!nostartfiles:%S}}} \ %{L*} %{fopenmp:%:include(libgomp.spec)%(link_gomp)} \ - %(link_libgcc) %o %{fprofile-arcs|fprofile-generate|coverage:-lgcov} \ + %(link_libgcc) %o %{fprofile-arcs|fprofile-generate*|coverage:-lgcov} \ %{!nostdlib:%{!nodefaultlibs:%(link_ssp) %G %L}} \ %{!A:%{!nostdlib:%{!nostartfiles:%E}}} %{T*} %{F*} }}}}}}}\n\ %{!fdump=*:%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\ |