summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-04-05 16:04:00 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-04-05 16:04:00 -0400
commitacdd5d55a90029b136b0cda6988276b8b2e1edce (patch)
tree2935d37071135c9ef24a7601f4b45c7a2f9785da /SConstruct
parenta8abb1fb6e13a3dd428735108b2f6bc5246a390c (diff)
downloadgpsd-acdd5d55a90029b136b0cda6988276b8b2e1edce.tar.gz
Improve an explanatory comment.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 3 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 9ee7c675..43cc12c1 100644
--- a/SConstruct
+++ b/SConstruct
@@ -186,8 +186,10 @@ if env['CC'] == 'gcc':
-Wmissing-declarations -Wmissing-prototypes
-Wstrict-prototypes -Wpointer-arith -Wreturn-type
-D_GNU_SOURCE'''))
+
# Tell generated binaries to look in the current directory for
-# shared libraries. Should be handles sanely by scons on all systems.
+# shared libraries. Should be handled sanely by scons on all systems.
+# Not good to use '.' or a relative path here; it's a security risk.
# At install time we should use chrpath to remove RPATH from the executables
# again.
env.Append(RPATH=os.path.realpath(os.curdir))