Skip to content

Commit

Permalink
fixes includes in macOS build
Browse files Browse the repository at this point in the history
  • Loading branch information
kdschlosser committed May 1, 2024
1 parent 5ffc497 commit 111e7df
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions builder/macOS.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ def build_commands(_, extra_args, script_dir, lv_cflags, board):

unix_cmd.append(f'{script_dir}/lib/micropython/ports/unix')

f''

if board:
unix_cmd.append(f'VARIANT={board}')

Expand All @@ -68,7 +66,8 @@ def build_commands(_, extra_args, script_dir, lv_cflags, board):
f'LV_CFLAGS="{lv_cflags}"',
f'LV_PORT=unix',
f'USER_C_MODULES="{script_dir}/ext_mod"',
f'CFLAGS="-Wno-missing-field-initializers -Wno-unused-function -I{script_dir}/lib/micropython -I{script_dir}/lib/micropython/ports/unix"'
f'CFLAGS="-Wno-missing-field-initializers -Wno-unused-function -I{script_dir}/lib/micropython -I{script_dir}/lib/micropython/ports/unix"',
f'LCD_BUS_CFLAGS="-Wno-missing-field-initializers -Wno-unused-function -I{script_dir}/lib/micropython -I{script_dir}/lib/micropython/ports/unix"'
])
unix_cmd.extend(extra_args)

Expand Down

0 comments on commit 111e7df

Please sign in to comment.