diff options
| author | ruki <[email protected]> | 2020-11-10 22:38:32 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-11-10 11:33:28 +0800 |
| commit | c84a362b39d566dc21160b8171c5ec389dbc5e3b (patch) | |
| tree | 4b0884aabe79c67c2c7a93791a45495f10ac3c21 /xmake/toolchains/sdcc/xmake.lua | |
| parent | a894334e3c80f9c13a0e64f5ce2f96b57726f186 (diff) | |
switch system includedirs for toolchains
Diffstat (limited to 'xmake/toolchains/sdcc/xmake.lua')
| -rw-r--r-- | xmake/toolchains/sdcc/xmake.lua | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/xmake/toolchains/sdcc/xmake.lua b/xmake/toolchains/sdcc/xmake.lua index 86d4bdd67..debd6ba08 100644 --- a/xmake/toolchains/sdcc/xmake.lua +++ b/xmake/toolchains/sdcc/xmake.lua @@ -53,19 +53,6 @@ toolchain("sdcc") -- on load on_load(function (toolchain) - -- init linkdirs and includedirs - local sdkdir = toolchain:sdkdir() - if sdkdir then - local includedir = path.join(sdkdir, "include") - if os.isdir(includedir) then - toolchain:add("includedirs", includedir) - end - local linkdir = path.join(sdkdir, "lib") - if os.isdir(linkdir) then - toolchain:add("linkdirs", linkdir) - end - end - -- add port flags for arch local arch = toolchain:arch() if arch then |
