mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-16 08:40:19 +02:00
Fix handling of the *-gnux32 target.
* module/system/base/target.scm (triplet-pointer-size): Fix typo in the x32 triplet name. * test-suite/tests/asm-to-bytecode.test (native-os): New procedure. (test-target): Use (native-word-size) only when both the CPU and OS match.
This commit is contained in:
parent
a5d8f98c60
commit
aacc689677
2 changed files with 6 additions and 2 deletions
|
@ -92,7 +92,7 @@
|
|||
((string-match "^mips64.*-gnuabi64" triplet) 8) ; n64 ABI
|
||||
((string-match "^mips64" cpu) 4) ; n32 or o32
|
||||
|
||||
((string-match "^x64_64-.*-gnux32" triplet) 4) ; x32
|
||||
((string-match "^x86_64-.*-gnux32" triplet) 4) ; x32
|
||||
|
||||
((string-match "64$" cpu) 8)
|
||||
((string-match "64[lbe][lbe]$" cpu) 8)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue