]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* Makefile.in (LIBGCC2_CFLAGS): Add -fexceptions.
authorJeffrey A Law <law@cygnus.com>
Sun, 26 Oct 1997 18:21:28 +0000 (18:21 +0000)
committerJeff Law <law@gcc.gnu.org>
Sun, 26 Oct 1997 18:21:28 +0000 (11:21 -0700)
From-SVN: r16183

gcc/ChangeLog
gcc/Makefile.in

index c27ecb19101fe88f420196ca19ef634b98f2314d..a9381af70b37cc90348c63170dcbd2a53d83eb32 100644 (file)
@@ -5,6 +5,8 @@ Sun Oct 26 10:06:11 1997  Toon Moene  <toon@moene.indiv.nluug.nl>
 
 Sun Oct 26 09:21:40 1997  Jeffrey A Law  (law@cygnus.com)
 
+       * Makefile.in (LIBGCC2_CFLAGS): Add -fexceptions.
+
        * alias.c (find_base_value): Handle PRE_INC, PRE_DEC, POST_INC,
        and POS_DEC.
        (find_base_term): Likewise.
index c9c313641749dd97b727a50eb3f7b0e8d821e589..737f4fa0b81400a3e78131ab4f1fe41ddf052a69 100644 (file)
@@ -268,8 +268,11 @@ LIBGCC2 = libgcc2.a
 # -g1 causes output of debug info only for file-scope entities.
 # we use this here because that should be enough, and also
 # so that -g1 will be tested.
+#
+# -fexceptions is necessary for eh.o now that the exceptions are
+# the default for g++ only.
 LIBGCC2_DEBUG_CFLAGS = -g1
-LIBGCC2_CFLAGS = -O2 $(LIBGCC2_INCLUDES) $(GCC_CFLAGS) $(TARGET_LIBGCC2_CFLAGS) $(LIBGCC2_DEBUG_CFLAGS) -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED @inhibit_libc@
+LIBGCC2_CFLAGS = -O2 $(LIBGCC2_INCLUDES) $(GCC_CFLAGS) $(TARGET_LIBGCC2_CFLAGS) $(LIBGCC2_DEBUG_CFLAGS) -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fexceptions @inhibit_libc@ 
 
 # Additional options to use when compiling libgcc2.a.
 # Some targets override this to -Iinclude