]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Use LIBC_CONFIG_VAR for MIPS default-abi setting.
authorJoseph Myers <joseph@codesourcery.com>
Thu, 21 Mar 2013 00:41:56 +0000 (00:41 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 21 Mar 2013 00:41:56 +0000 (00:41 +0000)
ports/ChangeLog.mips
ports/sysdeps/unix/sysv/linux/mips/Makefile
ports/sysdeps/unix/sysv/linux/mips/configure
ports/sysdeps/unix/sysv/linux/mips/configure.in

index be2e2d50cae6f0997b5e1be156912664665e445f..539cacf19d49f50c71e2aca393e7f2c81a80dc59 100644 (file)
@@ -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]
index 66ba621dae1a2827bda5c6e4f2e2d3b2e8dc5494..1e54036bfe94a62b55d221c29a412a30c391eb77 100644 (file)
@@ -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)))
index cecfc9d84c7366a0a04c942792b934181780fb03..b4ee83e3ae8e8c7ace9b5d53b88c4f28223a3154 100644 (file)
@@ -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/)
index 167779eaf94e8bdd945bee717da5f76507ddaa4a..b8dde6ef7a9ab4cd2c17c1bf6248a93c6b2e881f 100644 (file)
@@ -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/)