From ff0203bf7e478a4a438f00908a9371fc26e8da77 Mon Sep 17 00:00:00 2001 From: lace <> Date: Sat, 31 Jan 2009 10:49:41 +0000 Subject: [PATCH] -lmcheck is now conditioned by -s, not by --fast. --- bin/errs1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/errs1 b/bin/errs1 index b662f11..07583ae 100755 --- 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 -- 1.8.3.1