Add option to avoid thneed (#21577)

* add option to avoid thneed

* cleaner

Co-authored-by: Willem Melching <willem.melching@gmail.com>

* fix USE_THNEED in modeld

* cleanup

Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
This commit is contained in:
robbederks
2021-07-13 16:40:20 +02:00
committed by GitHub
parent 45d4f8301b
commit 2f22207ece
3 changed files with 14 additions and 7 deletions
+5
View File
@@ -51,6 +51,11 @@ AddOption('--external-sconscript',
dest='external_sconscript',
help='add an external SConscript to the build')
AddOption('--no-thneed',
action='store_true',
dest='no_thneed',
help='avoid using thneed')
real_arch = arch = subprocess.check_output(["uname", "-m"], encoding='utf8').rstrip()
if platform.system() == "Darwin":
arch = "Darwin"