Commit 402d7dfe by Richard Henderson Committed by Richard Henderson

* mknumeric_limits: Build with -fno-exceptions.

From-SVN: r42075
parent 3581fae0
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.
......
......@@ -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."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment