diff options
author | Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2009-06-11 19:57:04 +0000 |
---|---|---|
committer | François-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2009-06-11 19:57:04 +0000 |
commit | b5a6e96fa0d2c989397f7d993812effdf8876796 (patch) | |
tree | f75cb7ddd7306ca8f9207b6c96c672096117ef55 /gcc/config | |
parent | f9b09dec19f8e61654855b11caf1edb582af7278 (diff) | |
download | gcc-b5a6e96fa0d2c989397f7d993812effdf8876796.zip gcc-b5a6e96fa0d2c989397f7d993812effdf8876796.tar.gz gcc-b5a6e96fa0d2c989397f7d993812effdf8876796.tar.bz2 |
darwin.h (LINK_COMMAND_SPEC): Adjust spec to link libcov when -fprofile-generate* was passed.
* config/darwin.h (LINK_COMMAND_SPEC): Adjust spec to link libcov
when -fprofile-generate* was passed.
* config/darwin9.h (LINK_COMMAND_SPEC): Likewise.
From-SVN: r148394
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/darwin.h | 2 | ||||
-rw-r--r-- | gcc/config/darwin9.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index f855753..6fb1ec0 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -273,7 +273,7 @@ extern GTY(()) int darwin_ms_struct; %{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:\ diff --git a/gcc/config/darwin9.h b/gcc/config/darwin9.h index 390f8e5..8c6f671 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:\ |