summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-09-06 16:48:07 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-09-06 16:48:07 -0400
commit26477952deaa4421855a342a6dd03ff6fdb5f6e2 (patch)
treeacb5daf627381b0d454dc3b4678bdc37bb48aaa3 /SConstruct
parentaffff9760ebb45ec35ef5c9c0d8510fd65dee7e4 (diff)
downloadgpsd-26477952deaa4421855a342a6dd03ff6fdb5f6e2.tar.gz
Add a wrning about multi-word options.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 3 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 62a5d257..442e92fb 100644
--- a/SConstruct
+++ b/SConstruct
@@ -161,7 +161,9 @@ for (name, default, help) in pathopts:
env['VERSION'] = gpsd_version
env['PYTHON'] = sys.executable
-# set defaults from environment
+# Set defaults from environment. Note that scons doesn't cope well with
+# multi-word CPPFLAGS and LDFLAGS values; you'll have to explicitly quote
+# them or (better yet) use the "=" form of GNU option settings.
env['STRIP'] = "strip"
env['CHRPATH'] = 'chrpath'
for i in ["AR", "ARFLAGS", "CCFLAGS", "CFLAGS", "CC", "CXX", "CXXFLAGS", "STRIP", "CHRPATH", "LD", "TAR"]: