Skip to content

Commit

Permalink
fix(repo/packages/m/micropython/xmake.lua): fix building error
Browse files Browse the repository at this point in the history
Error occurs when compiling with
new toolchain. Apply the upstream
patch so it compiles fine.
  • Loading branch information
1ridic committed Sep 12, 2023
1 parent 168ce81 commit ef69912
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions repo/packages/m/micropython/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ do
add_patches("1.20.0", path.join(os.scriptdir(), "patches", "1.20.0", "01_adapt_smart.diff"),
"d0eb05d02339977f9c5771dcc81d2a616962ec57cb4d272fe8da3b8b22cc830c")

add_patches("1.20.0", "https://github.com/micropython/micropython/commit/f1c6cb7725960487195daa5c5c196fd8d3563811.diff",
"3b9ac8febc3582c8c914c9c8f53340a78b417c7d707aafd8c63585b34fa55454")

add_configs("shared", {
description = "Build shared library.",
default = os.getenv("RT_XMAKE_LINK_TYPE") ~= "static",
Expand Down

0 comments on commit ef69912

Please sign in to comment.