diff options
Diffstat (limited to 'REORG.TODO/sysdeps/tile/preconfigure')
-rw-r--r-- | REORG.TODO/sysdeps/tile/preconfigure | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/REORG.TODO/sysdeps/tile/preconfigure b/REORG.TODO/sysdeps/tile/preconfigure new file mode 100644 index 0000000000..f3e5d7edae --- /dev/null +++ b/REORG.TODO/sysdeps/tile/preconfigure @@ -0,0 +1,12 @@ +# This is a -*- sh -*- +case "$machine" in + tilepro) + base_machine=tile machine=tile/tilepro ;; + tilegx*) + base_machine=tile + if $CC $CFLAGS $CPPFLAGS -E -dM -xc /dev/null | grep -q __LP64__; then + machine=tile/tilegx/tilegx64 + else + machine=tile/tilegx/tilegx32 + fi ;; +esac |