* mknumeric_limits: Build with -fno-exceptions.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 May 2001 17:16:58 +0000 (17:16 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 May 2001 17:16:58 +0000 (17:16 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42075 138bc75d-0d04-0410-961f-82ee72b054a4

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

index caf31dc..2d903aa 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 a20b0bf..c324d02 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."