diff options
author | Joseph Myers <joseph@codesourcery.com> | 2014-06-25 17:52:56 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2014-06-25 17:52:56 +0000 |
commit | 3e239be647036760563e62639ea574a2c55b9191 (patch) | |
tree | b7fb407a91afacdb0922dba986c98a6ef1b6c2b7 /sysdeps/i386 | |
parent | 74836003ed4f2613f5c47a654bdd38a366076c15 (diff) | |
download | glibc-3e239be647036760563e62639ea574a2c55b9191.tar glibc-3e239be647036760563e62639ea574a2c55b9191.tar.gz glibc-3e239be647036760563e62639ea574a2c55b9191.tar.bz2 glibc-3e239be647036760563e62639ea574a2c55b9191.zip |
Move base_machine and machine settings from configure.ac to sysdeps preconfigure fragments.
This patch makes non-ex-ports architectures set base_machine and
machine based on the original configured machine value in preconfigure
fragments, like ex-ports architectures, rather than in the toplevel
configure.ac.
Tested x86 that the disassembly of installed shared libraries is
unchanged by the patch.
* configure.ac (base_machine): Do not set specially for particular
machines here.
* configure: Regenerated.
* sysdeps/powerpc/preconfigure: Move machine and base_machine
settings from configure.ac.
* sysdeps/i386/preconfigure: New file.
* sysdeps/s390/preconfigure: Likewise.
* sysdeps/sh/preconfigure: Likewise.
* sysdeps/sparc/preconfigure: Likewise.
Diffstat (limited to 'sysdeps/i386')
-rw-r--r-- | sysdeps/i386/preconfigure | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/i386/preconfigure b/sysdeps/i386/preconfigure new file mode 100644 index 0000000000..c8fefd1bff --- /dev/null +++ b/sysdeps/i386/preconfigure @@ -0,0 +1,5 @@ +# preconfigure fragment for i386. + +case "$machine" in +i[4567]86) base_machine=i386 machine=i386/$machine ;; +esac |