mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 23:00:07 +00:00
Use LIBC_CONFIG_VAR for MIPS default-abi setting.
This commit is contained in:
parent
d56ca734b5
commit
defa03577f
@ -1,3 +1,11 @@
|
||||
2013-03-20 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/mips/configure.in (default-abi): Set
|
||||
using LIBC_CONFIG_VAR.
|
||||
* sysdeps/unix/sysv/linux/mips/configure: Regenerated.
|
||||
* sysdeps/unix/sysv/linux/mips/Makefile: Do not include
|
||||
default-abi.make.
|
||||
|
||||
2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
|
||||
|
@ -8,9 +8,6 @@ sysdep_routines += cachectl cacheflush sysmips _test_and_set
|
||||
sysdep_headers += sys/cachectl.h sys/sysmips.h sys/tas.h
|
||||
endif
|
||||
|
||||
# Get value of default-abi.
|
||||
include $(common-objpfx)default-abi.make
|
||||
|
||||
abi-variants := o32_soft o32_hard n32_soft n32_hard n64_soft n64_hard
|
||||
|
||||
ifeq (,$(filter $(default-abi),$(abi-variants)))
|
||||
|
3
ports/sysdeps/unix/sysv/linux/mips/configure
vendored
3
ports/sysdeps/unix/sysv/linux/mips/configure
vendored
@ -105,7 +105,8 @@ if test -z "$libc_mips_float"; then
|
||||
as_fn_error $? "could not determine if compiler is using hard or soft floating point ABI" "$LINENO" 5
|
||||
fi
|
||||
|
||||
echo "default-abi := ${libc_mips_abi}_${libc_mips_float}" > default-abi.make
|
||||
config_vars="$config_vars
|
||||
default-abi = ${libc_mips_abi}_${libc_mips_float}"
|
||||
|
||||
case "$prefix" in
|
||||
/usr | /usr/)
|
||||
|
@ -44,7 +44,7 @@ if test -z "$libc_mips_float"; then
|
||||
AC_MSG_ERROR([could not determine if compiler is using hard or soft floating point ABI])
|
||||
fi
|
||||
|
||||
echo "default-abi := ${libc_mips_abi}_${libc_mips_float}" > default-abi.make
|
||||
LIBC_CONFIG_VAR([default-abi], [${libc_mips_abi}_${libc_mips_float}])
|
||||
|
||||
case "$prefix" in
|
||||
/usr | /usr/)
|
||||
|
Loading…
Reference in New Issue
Block a user