diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2016-05-18 03:22:12 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2016-05-18 03:22:12 -0400 |
commit | c44df08917e1d188a6bbecc7999631e030136d74 (patch) | |
tree | 8929eb8e04c867b5a11efd835061990a1aa76633 /SConstruct | |
parent | 4ed653adc678d155dcae4d02a279d9c1eae00dda (diff) | |
download | gpsd-c44df08917e1d188a6bbecc7999631e030136d74.tar.gz |
Attempt fix for timservice build bug.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -248,14 +248,14 @@ opts.Save('.scons-option-cache', env) env.SConsignFile(".sconsign.dblite") # Minimal build turns off every option not set on the command line, -if env['minimal']: +if 'minimal' in ARGUMENTS: for (name, default, help) in boolopts: # Ensure gpsd and gpsdclients are always enabled unless explicitly turned off. if default is True and not ARGUMENTS.get(name) and not (name is "gpsd" or name is "gpsdclients"): env[name] = False # Time-service build = stripped-down and some diagnostic tools -if env['timeservice']: +if 'timeservice' in ARGUMENTS: timerelated = ("gpsd", "ncurses", "ntp", "ntpshm", "pps", "oscillator") for (name, default, help) in boolopts: if default is True and not ARGUMENTS.get(name) and not name in timerelated: |