Skip to content

Commit 2f932ba

Browse files
pd0wmadeebshihadeh
authored andcommitted
both defines
1 parent 63a4541 commit 2f932ba

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

selfdrive/modeld/SConscript

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ thneed_src = [
2929
use_thneed = not GetOption('no_thneed')
3030

3131
use_extra = True # arch == "larch64"
32-
if use_extra:
33-
lenv['CXXFLAGS'].append('-DUSE_EXTRA=true')
32+
lenv['CXXFLAGS'].append('-DUSE_EXTRA=true' if use_extra else '-DUSE_EXTRA=false')
3433

3534
if arch == "aarch64" or arch == "larch64":
3635
libs += ['gsl', 'CB']

0 commit comments

Comments
 (0)