summaryrefslogtreecommitdiff
path: root/devel/avr-gcc/files/patch-no-c++-excepts
blob: d738b8228f20f94e9bf0c9ce26c8268007b42f81 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Index: gcc/config/avr/avr.h
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/config/avr/avr.h,v
retrieving revision 1.66
diff -u -r1.66 avr.h
--- gcc/config/avr/avr.h	11 Aug 2002 18:48:50 -0000	1.66
+++ gcc/config/avr/avr.h	28 Aug 2002 21:12:06 -0000
@@ -2523,6 +2523,12 @@
 
    Do not define this macro if it does not need to do anything.  */
 
+#define CC1PLUS_SPEC "%{!frtti:-fno-rtti} \
+    %{!fenforce-eh-specs:-fno-enforce-eh-specs} \
+    %{!fexceptions:-fno-exceptions}"
+/* A C string constant that tells the GNU CC drvier program options to
+   pass to `cc1plus'. */
+
 #define ASM_SPEC "%{mmcu=*:-mmcu=%*}"
 /* A C string constant that tells the GNU CC driver program options to
    pass to the assembler.  It can also specify how to translate