-lmcheck is now conditioned by -s, not by --fast.
authorlace <>
Sat, 31 Jan 2009 10:49:41 +0000 (10:49 +0000)
committerlace <>
Sat, 31 Jan 2009 10:49:41 +0000 (10:49 +0000)
bin/errs1

index b662f11..07583ae 100755 (executable)
--- a/bin/errs1
+++ b/bin/errs1
@@ -7,7 +7,7 @@ target=
 targets=
 configure="./configure"
 debug="-ggdb2"
-ldflags=""
+ldflags="-lmcheck"
 fast=false
 
 while true
@@ -53,6 +53,7 @@ do
        if [ "$1" = "-s" ];then
                # -O0 is important to override GCC -O2.
                debug="-O0 -s"
+               ldflags=""
                shift
                continue
        fi
@@ -77,7 +78,6 @@ done
        fi
        if ! $fast && test -f `dirname $configure`/bfd/elf64-x86-64.c -a '(' -d CVS -o -d .git ')';then
                targets="--enable-targets=all --enable-64-bit-bfd"
-               ldflags="-lmcheck"
        fi
 
        if test -f `dirname $configure`/gcc/reload.c;then