diff options
| author | ruki <[email protected]> | 2020-03-16 23:12:27 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-03-16 13:14:43 +0800 |
| commit | 719791f7eb2ebecf84ce2a182259b83219b5b773 (patch) | |
| tree | 7841abb81313424fdd526644dbdabd0bb1ca2208 | |
| parent | 96dc02bb71b40d415daabf094252d0c4201a6626 (diff) | |
update changelog
| -rw-r--r-- | CHANGELOG.md | 2 | ||||
| -rw-r--r-- | xmake/modules/core/tools/sdcc.lua | 6 | ||||
| -rw-r--r-- | xmake/platforms/sdcc/load.lua | 1 |
3 files changed, 2 insertions, 7 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 152d0de39..ebe785160 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ * Add powershell theme for powershell terminal * Add `xmake --dry-run -v` to dry run building target and only show verbose build command. +* [#712](https://github.com/xmake-io/xmake/issues/712): Add sdcc platform and support sdcc compiler ### Change @@ -694,6 +695,7 @@ * 添加powershell色彩主题用于powershell终端下背景色显示 * 添加`xmake --dry-run -v`命令去空运行构建,仅仅为了查看详细的构建命令 +* [#712](https://github.com/xmake-io/xmake/issues/712): 添加sdcc平台,并且支持sdcc编译器 ### 改进 diff --git a/xmake/modules/core/tools/sdcc.lua b/xmake/modules/core/tools/sdcc.lua index 5da7028d8..03879677c 100644 --- a/xmake/modules/core/tools/sdcc.lua +++ b/xmake/modules/core/tools/sdcc.lua @@ -24,12 +24,6 @@ import("core.base.option") -- init it function init(self) - -- init shflags - self:set("shflags", "-shared") - - -- init cxflags for the kind: shared - self:set("shared.cxflags", "-fPIC") - -- init flags map self:set("mapflags", { diff --git a/xmake/platforms/sdcc/load.lua b/xmake/platforms/sdcc/load.lua index e15d4daa0..2f44d691e 100644 --- a/xmake/platforms/sdcc/load.lua +++ b/xmake/platforms/sdcc/load.lua @@ -42,7 +42,6 @@ function main(platform) if arch then platform:add("cxflags", "-m" .. arch) platform:add("ldflags", "-m" .. arch) - platform:add("shflags", "-m" .. arch) end end |
