aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1997-10-26 18:21:28 +0000
committerJeff Law <law@gcc.gnu.org>1997-10-26 11:21:28 -0700
commit7337c67fcd3ff3f5cc47c611462fdb948c3f6bfa (patch)
treef4a60b34efe77c0daf343e2bf1d0156e4db3ae56 /gcc
parent6d849a2abd23e7fcb3e128bb28835178cd64c1dc (diff)
downloadgcc-7337c67fcd3ff3f5cc47c611462fdb948c3f6bfa.zip
gcc-7337c67fcd3ff3f5cc47c611462fdb948c3f6bfa.tar.gz
gcc-7337c67fcd3ff3f5cc47c611462fdb948c3f6bfa.tar.bz2
* Makefile.in (LIBGCC2_CFLAGS): Add -fexceptions.
From-SVN: r16183
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog2
-rw-r--r--gcc/Makefile.in5
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c27ecb1..a9381af 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index c9c3136..737f4fa0 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -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