mescc: Mes C Library: div.c: Use only for ARM.

* build-aux/configure-lib.sh (libmescc_SOURCES): Remove div.c unless
ARM.
This commit is contained in:
Jan (janneke) Nieuwenhuizen 2020-12-29 17:09:35 +01:00
parent 381e8bd6e0
commit 323337a29a
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -81,8 +81,13 @@ fi
libmescc_SOURCES=" libmescc_SOURCES="
lib/mes/globals.c lib/mes/globals.c
lib/linux/$mes_cpu-mes-$compiler/syscall-internal.c lib/linux/$mes_cpu-mes-$compiler/syscall-internal.c
"
if test $mes_cpu = arm; then
libmescc_SOURCES="$libmescc_SOURCES
lib/mes/div.c lib/mes/div.c
" "
fi
libmes_SOURCES=" libmes_SOURCES="
$libc_mini_shared_SOURCES $libc_mini_shared_SOURCES