diff options
| author | ruki <[email protected]> | 2024-05-19 00:30:08 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-05-19 00:30:08 +0800 |
| commit | 03a50826713d642466528df1d7ffe943834f03a9 (patch) | |
| tree | f61af18167b29973b01291432ed34da8ce5836bf | |
| parent | 2576caa355925e7cff98058ea6ea84b58069b5fb (diff) | |
Update xmake.lua
| -rw-r--r-- | xmake/toolchains/gfortran/xmake.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/toolchains/gfortran/xmake.lua b/xmake/toolchains/gfortran/xmake.lua index 47031173e..bc6aff252 100644 --- a/xmake/toolchains/gfortran/xmake.lua +++ b/xmake/toolchains/gfortran/xmake.lua @@ -32,7 +32,7 @@ toolchain("gfortran") -- on load on_load(function (toolchain) - local march = toolchain:is_arch("x86_64", "x64") and "-m64" or "-m32" + local march = toolchain:is_arch("x86_64", "x64", "arm64") and "-m64" or "-m32" toolchain:add("fcflags", march) toolchain:add("fcshflags", march) toolchain:add("fcldflags", march) |
