build: Oops, use MES_LIBS.
authorJan Nieuwenhuizen <janneke@gnu.org>
Fri, 5 Oct 2018 20:12:48 +0000 (22:12 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Fri, 5 Oct 2018 20:12:48 +0000 (22:12 +0200)
* build-aux/build-x86_64-mes.sh: Use MES_LIBS instead of the unused
MES64_LIBS.  Fixes build.  Thanks, pdewacht!

build-aux/build-x86_64-mes.sh

index b3d3d2400229b54151f1b0e86f90b5001d48df21..d3468e3dfdc3c7c679c40c3670baba329762140b 100755 (executable)
@@ -118,7 +118,7 @@ MES_ARENA=100000000
 
 ARCHDIR=1 NOLINK=1 bash ${srcdest}build-aux/cc-x86_64-mes.sh lib/linux/x86_64-mes/crt1
 ARCHDIR=1 NOLINK=1 bash ${srcdest}build-aux/cc-x86_64-mes.sh lib/libc-mini
-MES64_LIBS='-l c-mini' PREPROCESS= bash ${srcdest}build-aux/cc-x86_64-mes.sh lib/x86_64-mes/exit-42
+MES_LIBS='-l c-mini' PREPROCESS= bash ${srcdest}build-aux/cc-x86_64-mes.sh lib/x86_64-mes/exit-42
 
 trace "TEST       lib/x86_64-mes/exit-42.x86_64-mes-out" echo lib/x86_64-mes/exit-42.x86_64-mes-out
 { set +e; lib/x86_64-mes/exit-42.x86_64-mes-out; r=$?; set -e; }
@@ -150,8 +150,8 @@ trace "TEST       scaffold/main.x86_64-mes-out" echo scaffold/main.x86_64-mes-ou
 { set +e; scaffold/main.x86_64-mes-out; r=$?; set -e; }
 [ $r != 42 ] && echo "  => $r" && exit 1
 
-MES64_LIBS='-l c-mini' bash ${srcdest}build-aux/cc-x86_64-mes.sh scaffold/hello
-MES64_LIBS='-l c-mini' bash ${srcdest}build-aux/cc-x86_64-mes.sh scaffold/argv
+MES_LIBS='-l c-mini' bash ${srcdest}build-aux/cc-x86_64-mes.sh scaffold/hello
+MES_LIBS='-l c-mini' bash ${srcdest}build-aux/cc-x86_64-mes.sh scaffold/argv
 bash ${srcdest}build-aux/cc-x86_64-mes.sh scaffold/malloc
 ##sh ${srcdest}build-aux/cc-x86_64-mes.sh scaffold/micro-mes
 ##sh ${srcdest}build-aux/cc-x86_64-mes.sh scaffold/tiny-mes