From 40e1e8fb245c25857bda06b05e291fcd5f6a5b04 Mon Sep 17 00:00:00 2001 From: rth Date: Mon, 14 May 2001 17:16:58 +0000 Subject: [PATCH] * mknumeric_limits: Build with -fno-exceptions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42075 138bc75d-0d04-0410-961f-82ee72b054a4 --- libstdc++-v3/ChangeLog | 4 ++++ libstdc++-v3/mknumeric_limits | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index caf31dc..2d903aa 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2001-05-14 Richard Henderson + + * mknumeric_limits: Build with -fno-exceptions. + 2001-05-13 Benjamin Kosnik Switch over to new harness. diff --git a/libstdc++-v3/mknumeric_limits b/libstdc++-v3/mknumeric_limits index a20b0bf..c324d02 100755 --- a/libstdc++-v3/mknumeric_limits +++ b/libstdc++-v3/mknumeric_limits @@ -163,10 +163,12 @@ namespace std { EOF -echo "$CC -I. $CPPFLAGS -I$BUILD_DIR/include -DHAVE_CONFIG_H \ +# Must turn off exceptions, because the C++ exception handling support +# routines have not been built yet. +echo "$CC -I. $CPPFLAGS -I$BUILD_DIR/include -DHAVE_CONFIG_H -fno-exceptions \ -o $BUILD_DIR/src/gen-num-limits $SRC_DIR/src/gen-num-limits.cc" -{ $CC -I. $CPPFLAGS -I$BUILD_DIR/include -DHAVE_CONFIG_H \ +{ $CC -I. $CPPFLAGS -I$BUILD_DIR/include -DHAVE_CONFIG_H -fno-exceptions \ -o "$BUILD_DIR/src/gen-num-limits" "$SRC_DIR/src/gen-num-limits.cc" } || { echo "gen-num-limits failed to build, exiting." -- 2.7.4