mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 00:03:45 +08:00
More governance work, fix thneed (#2610)
* more governance work * fix thneed on qcom2 * waste doesn't OOM Co-authored-by: Comma Device <device@comma.ai> old-commit-hash: a14ce090184af790d7e677b1f0a1107c7ade8a34
This commit is contained in:
@@ -19,7 +19,11 @@ if arch == "aarch64":
|
||||
lenv['CFLAGS'].append("-DUSE_THNEED")
|
||||
lenv['CXXFLAGS'].append("-DUSE_THNEED")
|
||||
elif arch == "larch64":
|
||||
libs += ['gsl', 'CB', 'pthread']
|
||||
libs += ['gsl', 'CB', 'pthread', 'dl']
|
||||
if not TEST_THNEED:
|
||||
common_src += ["thneed/thneed.cc"]
|
||||
lenv['CFLAGS'].append("-DUSE_THNEED")
|
||||
lenv['CXXFLAGS'].append("-DUSE_THNEED")
|
||||
else:
|
||||
libs += ['pthread']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user