9-cc.patch 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. diff --git a/configure b/configure
  2. index 7d0382e..c4682db 100755
  3. --- a/configure
  4. +++ b/configure
  5. @@ -38,6 +38,9 @@ then
  6. x86_64)
  7. HOST_ARCH="amd64"
  8. ;;
  9. + aarch64)
  10. + HOST_ARCH="arm"
  11. + ;;
  12. esac
  13. #
  14. diff --git a/src/cmd/mkfile b/src/cmd/mkfile
  15. index cc18e5c..6a116d9 100644
  16. --- a/src/cmd/mkfile
  17. +++ b/src/cmd/mkfile
  18. @@ -6,56 +6,56 @@
  19. # Fairly soon the Plan 9 compilers will be updated to match.
  20. #
  21. ALWAYS=\
  22. - libmach\
  23. - libregexp\
  24. +# libmach\
  25. +# libregexp\
  26. iar\
  27. - iyacc\
  28. - cc\
  29. - 5a\
  30. - 5c\
  31. - 5l\
  32. - 5coff\
  33. - 5cv\
  34. - sqz\
  35. +# iyacc\
  36. +# cc\
  37. +# 5a\
  38. +# 5c\
  39. +# 5l\
  40. +# 5coff\
  41. +# 5cv\
  42. +# sqz\
  43. # tc\
  44. - acid\
  45. - srclist\
  46. - ms2\
  47. - data2c\
  48. - data2s\
  49. - kprof\
  50. - mkppcimage\
  51. - nm\
  52. - sed\
  53. +# acid\
  54. +# srclist\
  55. +# ms2\
  56. +# data2c\
  57. +# data2s\
  58. +# kprof\
  59. +# mkppcimage\
  60. +# nm\
  61. +# sed\
  62. #
  63. # Utils we build on Posix and Nt, which already exist on Plan 9.
  64. #
  65. NOTPLAN9=\
  66. - 6a\
  67. - 6c\
  68. - 6l\
  69. +# 6a\
  70. +# 6c\
  71. +# 6l\
  72. # 7a\
  73. # 7c\
  74. # 7l\
  75. - 8a\
  76. - 8c\
  77. - 8l\
  78. +# 8a\
  79. +# 8c\
  80. +# 8l\
  81. # 9a\
  82. # 9c\
  83. # 9l\
  84. - qa\
  85. - qc\
  86. - ql\
  87. - va\
  88. - vc\
  89. - vl\
  90. - ka\
  91. - kc\
  92. - kl\
  93. - mk\
  94. - ksize\
  95. - kstrip\
  96. +# qa\
  97. +# qc\
  98. +# ql\
  99. +# va\
  100. +# vc\
  101. +# vl\
  102. +# ka\
  103. +# kc\
  104. +# kl\
  105. +# mk\
  106. +# ksize\
  107. +# kstrip\
  108. #
  109. # Utils we build on Nt, for build environment compatibility.