From e7f2f53750d33ca0926925646c041abec3c76634 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 14 Jan 2011 18:47:52 +0000 Subject: [PATCH] avr.h (CPP_SPEC): Don't handle -posix. * config/avr/avr.h (CPP_SPEC): Don't handle -posix. (CC1_SPEC): Don't handle -profile. From-SVN: r168807 --- gcc/ChangeLog | 5 +++++ gcc/config/avr/avr.h | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 144c9b46b2f..6989f9d16e6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-01-14 Joseph Myers + + * config/avr/avr.h (CPP_SPEC): Don't handle -posix. + (CC1_SPEC): Don't handle -profile. + 2011-01-14 Joseph Myers * config/microblaze/microblaze.h (CC1_SPEC): Remove -gline spec. diff --git a/gcc/config/avr/avr.h b/gcc/config/avr/avr.h index 9ad914e4e68..9a7107820fa 100644 --- a/gcc/config/avr/avr.h +++ b/gcc/config/avr/avr.h @@ -1,7 +1,7 @@ /* Definitions of target machine for GNU compiler, for ATMEL AVR at90s8515, ATmega103/103L, ATmega603/603L microcontrollers. Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, - 2008, 2009, 2010 + 2008, 2009, 2010, 2011 Free Software Foundation, Inc. Contributed by Denis Chertykov (chertykov@gmail.com) @@ -739,9 +739,9 @@ extern const char *avr_device_to_devicelib (int argc, const char **argv); { "device_to_startfile", avr_device_to_startfiles }, \ { "device_to_devicelib", avr_device_to_devicelib }, -#define CPP_SPEC "%{posix:-D_POSIX_SOURCE}" +#define CPP_SPEC "" -#define CC1_SPEC "%{profile:-p}" +#define CC1_SPEC "" #define CC1PLUS_SPEC "%{!frtti:-fno-rtti} \ %{!fenforce-eh-specs:-fno-enforce-eh-specs} \ -- 2.30.2