* mknumeric_limits: Build with -fno-exceptions.
authorRichard Henderson <rth@redhat.com>
Mon, 14 May 2001 17:16:58 +0000 (10:16 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 14 May 2001 17:16:58 +0000 (10:16 -0700)
From-SVN: r42075

libstdc++-v3/ChangeLog
libstdc++-v3/mknumeric_limits

index caf31dc1dce2fcb52c47a5e741b1706542bd6f9a..2d903aa2551bbb5d91dcda390ed092bddb78bd75 100644 (file)
@@ -1,3 +1,7 @@
+2001-05-14  Richard Henderson  <rth@redhat.com>
+
+       * mknumeric_limits: Build with -fno-exceptions.
+
 2001-05-13   Benjamin Kosnik  <bkoz@redhat.com>
 
        Switch over to new harness.
index a20b0bf517ef758d7926ba890b5d780ebccdc24f..c324d029e4a74ff776beecae9906cdfc869f87bd 100755 (executable)
@@ -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."