summaryrefslogtreecommitdiff
path: root/gcc/config/darwin9.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/darwin9.h')
-rw-r--r--gcc/config/darwin9.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/config/darwin9.h b/gcc/config/darwin9.h
index c9f33ea739b..d0a7a1f75e4 100644
--- a/gcc/config/darwin9.h
+++ b/gcc/config/darwin9.h
@@ -27,8 +27,13 @@ along with GCC; see the file COPYING3. If not see
#undef DSYMUTIL_SPEC
#define DSYMUTIL_SPEC \
"%{!fdump=*:%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\
+ %{v} \
+ %{g*:%{!gstabs*:%{!g0: -idsym}}}\
%{.c|.cc|.C|.cpp|.cp|.c++|.cxx|.CPP|.m|.mm|.s: \
- %{g*:%{!gstabs*:%{!g0: " DSYMUTIL " %{o*:%*}%{!o:a.out}}}}}}}}}}}}"
+ %{g*:%{!gstabs*:%{!g0: -dsym}}}}}}}}}}}"
+
+/* Tell collet2 to run dsymutil for us as necessary. */
+#define COLLECT_RUN_DSYMUTIL 1
/* libSystem contains unwind information for signal frames. */
#define DARWIN_LIBSYSTEM_HAS_UNWIND