summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-05-14 17:16:58 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-05-14 17:16:58 +0000
commit40e1e8fb245c25857bda06b05e291fcd5f6a5b04 (patch)
tree12aa4a549c0fa830f441f45269d61af82f5148e0 /libstdc++-v3
parent7bf4741d80abb671c5d13b416f688a97f69c17d8 (diff)
downloadgcc-40e1e8fb245c25857bda06b05e291fcd5f6a5b04.tar.gz
* mknumeric_limits: Build with -fno-exceptions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42075 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog4
-rwxr-xr-xlibstdc++-v3/mknumeric_limits6
2 files changed, 8 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index caf31dc1dce..2d903aa2551 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -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.
diff --git a/libstdc++-v3/mknumeric_limits b/libstdc++-v3/mknumeric_limits
index a20b0bf517e..c324d029e4a 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."