diff options
| author | ruki <[email protected]> | 2020-12-16 23:43:28 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-12-16 23:43:28 +0800 |
| commit | 207b4e753a4bed1f75836b78180411442103a9cd (patch) | |
| tree | 5e4abe6e4f3c5b99ef6f1ebcbbd1a3d7d88795f5 /xmake/platforms/linux | |
| parent | f3b3357ddad20367ff94e8b984a525a703d5947f (diff) | |
add find_platform
Diffstat (limited to 'xmake/platforms/linux')
| -rw-r--r-- | xmake/platforms/linux/xmake.lua | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/xmake/platforms/linux/xmake.lua b/xmake/platforms/linux/xmake.lua index 1f70ed35e..40f92e0d6 100644 --- a/xmake/platforms/linux/xmake.lua +++ b/xmake/platforms/linux/xmake.lua @@ -39,16 +39,6 @@ platform("linux") -- set install directory set_installdir("/usr/local") - -- on check - on_check(function (platform) - import("core.project.config") - local arch = config.get("arch") - if not arch then - config.set("arch", os.arch()) - cprint("checking for architecture ... ${color.success}%s", config.get("arch")) - end - end) - -- set toolchains set_toolchains("envs", "cross", "gcc", "clang", "yasm", "nasm", "fasm", "cuda", "dlang", "go", "rust", "gfortran", "zig") |
