diff options
| author | ruki <[email protected]> | 2020-05-16 10:59:10 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-05-16 10:59:10 +0800 |
| commit | d021df166bfd45c2d18ae6fa39cd685006491d01 (patch) | |
| tree | 00ae776fe15fc6f70c30877b1b2eaeba2cd3d4f8 /xmake/modules/core | |
| parent | 87a0828f8d20d3a1a83aed640e6e77560668e488 (diff) | |
rename dlang, rust, swift, go ldflags
Diffstat (limited to 'xmake/modules/core')
| -rw-r--r-- | xmake/modules/core/tools/dmd.lua | 4 | ||||
| -rw-r--r-- | xmake/modules/core/tools/go.lua | 2 | ||||
| -rw-r--r-- | xmake/modules/core/tools/ldc2.lua | 2 | ||||
| -rw-r--r-- | xmake/modules/core/tools/rustc.lua | 6 |
4 files changed, 7 insertions, 7 deletions
diff --git a/xmake/modules/core/tools/dmd.lua b/xmake/modules/core/tools/dmd.lua index eaadb249c..4d74c21ae 100644 --- a/xmake/modules/core/tools/dmd.lua +++ b/xmake/modules/core/tools/dmd.lua @@ -27,10 +27,10 @@ import("core.project.project") function init(self) -- init arflags - self:set("dc-arflags", "-lib") + self:set("dcarflags", "-lib") -- init shflags - self:set("dc-shflags", "-shared", "-fPIC") + self:set("dcshflags", "-shared", "-fPIC") -- init dcflags for the kind: shared self:set("shared.dcflags", "-fPIC") diff --git a/xmake/modules/core/tools/go.lua b/xmake/modules/core/tools/go.lua index 944a14eff..80230ba4f 100644 --- a/xmake/modules/core/tools/go.lua +++ b/xmake/modules/core/tools/go.lua @@ -27,7 +27,7 @@ import("core.project.project") function init(self) -- init arflags - self:set("gc-arflags", "grc") + self:set("gcarflags", "grc") -- init the file formats self:set("formats", { static = "$(name).a" }) diff --git a/xmake/modules/core/tools/ldc2.lua b/xmake/modules/core/tools/ldc2.lua index ef4796156..9cf9fd48b 100644 --- a/xmake/modules/core/tools/ldc2.lua +++ b/xmake/modules/core/tools/ldc2.lua @@ -28,7 +28,7 @@ function init(self) _super.init(self) -- init shflags - self:set("dc-shflags", "-shared") + self:set("dcshflags", "-shared") -- init cxflags for the kind: shared self:set("shared.dcflags", "") diff --git a/xmake/modules/core/tools/rustc.lua b/xmake/modules/core/tools/rustc.lua index 227c6ad43..0ec83c803 100644 --- a/xmake/modules/core/tools/rustc.lua +++ b/xmake/modules/core/tools/rustc.lua @@ -27,13 +27,13 @@ import("core.project.project") function init(self) -- init arflags - self:set("rc-arflags", "--crate-type=lib") + self:set("rcarflags", "--crate-type=lib") -- init shflags - self:set("rc-shflags", "--crate-type=dylib") + self:set("rcshflags", "--crate-type=dylib") -- init ldflags - self:set("rc-ldflags", "--crate-type=bin") + self:set("rcldflags", "--crate-type=bin") -- init the file formats self:set("formats", { static = "lib$(name).rlib" }) |
