mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
457 B

  1. if [ "$ROCKCFG_X86_BITS" = 32 ] ; then
  2. case "$ROCKCFG_X86_OPT" in
  3. i?86)
  4. arch_machine="$ROCKCFG_X86_OPT" ;;
  5. pentium|pentium-mmx|k6*)
  6. arch_machine="i586" ;;
  7. pentium*|athlon*)
  8. arch_machine="i686" ;;
  9. esac
  10. else
  11. arch_sizeof_long=8
  12. arch_sizeof_char_p=8
  13. arch_machine="x86_64"
  14. arch_target32="i686-pc-linux-gnu"
  15. fi
  16. arch_target="${arch_machine}-unknown-linux-gnu"
  17. if [ "$ROCKCFG_X86_BITS" = 64 ] ; then
  18. arch_target64="$arch_target"
  19. fi