summaryrefslogtreecommitdiff
path: root/gcc/config/sol2.h
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2012-05-07 11:07:31 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2012-05-07 11:07:31 +0000
commitdb66903a3841ff91bd1ef7a9b17e1cb56003d573 (patch)
tree1e33c591d014afe77c80059f2cab97605f3e4db5 /gcc/config/sol2.h
parentb920ee3828cf2a11c5435e0ec222f9fa2378ea05 (diff)
downloadgcc-db66903a3841ff91bd1ef7a9b17e1cb56003d573.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187230 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/sol2.h')
-rw-r--r--gcc/config/sol2.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/sol2.h b/gcc/config/sol2.h
index 670dbaa782f..4cbb3081b3a 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 \