summaryrefslogtreecommitdiff
path: root/devtools
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-04-09 11:30:11 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-04-09 11:30:11 -0400
commit9f6a7e7e3b390787aa155c32fe39081b1b3239a7 (patch)
treef35ad63c77c4e12e6b9e1ebe42eee637e489c473 /devtools
parent542c37a3ebd6717b64291a7e858ff0529d213ece (diff)
downloadgpsd-9f6a7e7e3b390787aa155c32fe39081b1b3239a7.tar.gz
Make it possible to build static binaries with --disable-shared.
Diffstat (limited to 'devtools')
-rwxr-xr-xdevtools/sizes5
1 files changed, 1 insertions, 4 deletions
diff --git a/devtools/sizes b/devtools/sizes
index 3432bf1a..ce653cab 100755
--- a/devtools/sizes
+++ b/devtools/sizes
@@ -2,9 +2,6 @@
#
# sizes -- explore the sizes of static gpsd binaries
#
-# Note: won't include size of shared libraries until we teeak the scons
-# recipe to produce static build of gpsd.
-#
import os
# NMEA variants other than vanilla NMEA
@@ -55,7 +52,7 @@ debugging = [
def sizeit(legend, tag, options):
print legend + ":"
print "Options:", " ".join(options)
- os.system("scons " + " ".join(options) + " >/dev/null")
+ os.system("scons --disable-shared " + " ".join(options) + " >/dev/null")
os.rename("gpsd", "gpsd-" + tag + "-build")
# Main sequence