Files
panda-meb/tests/SConscript
martinl f674084db5 MacOS: use gcc-12 for building tests (#1241)
* MacOS: use gcc-12 for building tests

* Update README.md

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-03-13 16:21:43 -07:00

14 lines
324 B
Python

env = Environment(
CC='gcc',
CFLAGS=[
'-nostdlib',
'-fno-builtin',
'-std=gnu11',
],
CPPPATH=[".", "../board"],
)
env.PrependENVPath('PATH', '/opt/homebrew/bin')
env.SharedLibrary("safety/libpandasafety.so", ["safety/test.c"])
env.SharedLibrary("usbprotocol/libpandaprotocol.so", ["usbprotocol/test.c"])