diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-04-09 11:30:11 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-04-09 11:30:11 -0400 |
commit | 9f6a7e7e3b390787aa155c32fe39081b1b3239a7 (patch) | |
tree | f35ad63c77c4e12e6b9e1ebe42eee637e489c473 /devtools | |
parent | 542c37a3ebd6717b64291a7e858ff0529d213ece (diff) | |
download | gpsd-9f6a7e7e3b390787aa155c32fe39081b1b3239a7.tar.gz |
Make it possible to build static binaries with --disable-shared.
Diffstat (limited to 'devtools')
-rwxr-xr-x | devtools/sizes | 5 |
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 |