Browse Source

scripts: revert the arm64->aarch64 change

fix-cwd-path
fgsfds 2 years ago
parent
commit
b01237f698
  1. 2
      cmake/LibraryNaming.cmake
  2. 2
      contrib/iZarif/premake5.lua
  3. 2
      contrib/iZarif/xash.lua
  4. 2
      scripts/waifulib/library_naming.py
  5. 2
      scripts/waifulib/xcompile.py

2
cmake/LibraryNaming.cmake

@ -79,7 +79,7 @@ elseif(XASH_X86)
set(BUILDARCH "i386") set(BUILDARCH "i386")
endif() endif()
elseif(XASH_ARM AND XASH_64BIT) elseif(XASH_ARM AND XASH_64BIT)
set(BUILDARCH "aarch64") set(BUILDARCH "arm64")
elseif(XASH_ARM) elseif(XASH_ARM)
set(BUILDARCH "armv") set(BUILDARCH "armv")
if(XASH_ARMv8) if(XASH_ARMv8)

2
contrib/iZarif/premake5.lua

@ -55,7 +55,7 @@ newoption{trigger = "lto", description = "Enable Link Time Optimization", defaul
newoption{trigger = "arch", description = "Destination arch", default = xash.get_arch(), allowed = { newoption{trigger = "arch", description = "Destination arch", default = xash.get_arch(), allowed = {
{"amd64", ""}, {"amd64", ""},
{"x86", ""}, {"x86", ""},
{"aarch64", ""}, {"arm64", ""},
{"armv8_32l", ""}, {"armv8_32l", ""},
{"armv7l", ""}, {"armv7l", ""},
{"armv6l", ""}, {"armv6l", ""},

2
contrib/iZarif/xash.lua

@ -89,7 +89,7 @@ function m.get_arch()
arch = "x86" arch = "x86"
elseif m.is_cxx_symbol_defined("XASH_ARM", {"build.h"}, {"public"}) then elseif m.is_cxx_symbol_defined("XASH_ARM", {"build.h"}, {"public"}) then
if m.is_cxx_symbol_defined("XASH_64BIT", {"build.h"}, {"public"}) then if m.is_cxx_symbol_defined("XASH_64BIT", {"build.h"}, {"public"}) then
arch = "aarch64" arch = "arm64"
else else
arch = "armv" arch = "armv"

2
scripts/waifulib/library_naming.py

@ -107,7 +107,7 @@ def configure(conf):
else: else:
buildarch = "i386" buildarch = "i386"
elif conf.env.XASH_ARM and conf.env.XASH_64BIT: elif conf.env.XASH_ARM and conf.env.XASH_64BIT:
buildarch = "aarch64" buildarch = "arm64"
elif conf.env.XASH_ARM: elif conf.env.XASH_ARM:
buildarch = "armv" buildarch = "armv"
if conf.env.XASH_ARMv8: if conf.env.XASH_ARMv8:

2
scripts/waifulib/xcompile.py

@ -352,7 +352,7 @@ class Android:
class NintendoSwitch: class NintendoSwitch:
ctx = None # waf context ctx = None # waf context
arch = "aarch64" arch = "arm64"
dkp_dir = None dkp_dir = None
portlibs_dir = None portlibs_dir = None
dka64_dir = None dka64_dir = None

Loading…
Cancel
Save