Remove duplicate -lm switches from build.sh

This commit is contained in:
Lassi Kortela 2019-08-14 00:55:05 +03:00
parent 6c8a10155d
commit 2048ac0d45
1 changed files with 3 additions and 3 deletions

View File

@ -105,7 +105,7 @@ $CC $CFLAGS -c ../c/utf8.c
$CC $CFLAGS -c ../c/flmain.c $CC $CFLAGS -c ../c/flmain.c
$CC $LFLAGS -o upscheme -lm $o_files $CC $LFLAGS -o upscheme $o_files
{ set +x; } 2>/dev/null { set +x; } 2>/dev/null
cd ../scheme-core cd ../scheme-core
@ -120,7 +120,7 @@ cd ../"$builddir"
echo "Entering directory '$PWD'" echo "Entering directory '$PWD'"
set -x set -x
$CC $CFLAGS -c ../c/flmain.c $CC $CFLAGS -c ../c/flmain.c
$CC $LFLAGS -o upscheme -lm $o_files $CC $LFLAGS -o upscheme $o_files
{ set +x; } 2>/dev/null { set +x; } 2>/dev/null
cd ../scheme-core cd ../scheme-core
@ -135,7 +135,7 @@ cd ../"$builddir"
echo "Entering directory '$PWD'" echo "Entering directory '$PWD'"
set -x set -x
$CC $CFLAGS -c ../c/flmain.c $CC $CFLAGS -c ../c/flmain.c
$CC $LFLAGS -o upscheme -lm $o_files $CC $LFLAGS -o upscheme $o_files
{ set +x; } 2>/dev/null { set +x; } 2>/dev/null
cd ../scheme-tests cd ../scheme-tests