* mknumeric_limits: Build with -fno-exceptions.

From-SVN: r42075
This commit is contained in:
Richard Henderson 2001-05-14 10:16:58 -07:00 committed by Richard Henderson
parent 3581fae0bb
commit 402d7dfed5
2 changed files with 8 additions and 2 deletions

View 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.

View File

@ -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."