From fe551ce4b1ca15430d74f308aa81f059d0f33d31 Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Mon, 7 May 2012 11:07:31 +0000 Subject: Don't use DWARF 4 on Solaris * config/sol2.c (solaris_override_options): New function. * config/sol2-protos.h (solaris_override_options): Declare. * config/sol2.h (SUBTARGET_OVERRIDE_OPTIONS): Define. From-SVN: r187230 --- gcc/config/sol2.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gcc/config/sol2.h') diff --git a/gcc/config/sol2.h b/gcc/config/sol2.h index 670dbaa..4cbb308 100644 --- a/gcc/config/sol2.h +++ b/gcc/config/sol2.h @@ -99,6 +99,12 @@ along with GCC; see the file COPYING3. If not see TARGET_SUB_OS_CPP_BUILTINS(); \ } while (0) +#define SUBTARGET_OVERRIDE_OPTIONS \ + do { \ + solaris_override_options (); \ + } while (0) + + /* It's safe to pass -s always, even if -g is not used. Those options are handled by both Sun as and GNU as. */ #define ASM_SPEC_BASE \ -- cgit v1.1