summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-04-05 17:54:46 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-04-05 17:54:46 -0400
commitfa25a91000b08693292591e22b6d4071a2a67d3f (patch)
treea1de0b33c6acec52abf6c386953af76f75faeb51 /SConstruct
parent3e6bd56a0bba9d5e4a451c04264a09262e0f268e (diff)
downloadgpsd-fa25a91000b08693292591e22b6d4071a2a67d3f.tar.gz
The actually effective way to force -pthread.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index b799b3e6..209261d7 100644
--- a/SConstruct
+++ b/SConstruct
@@ -488,7 +488,7 @@ gpsmon_sources = [
## Production programs
gpsd = env.Program('gpsd', gpsd_sources,
- CFLAGS = "-pthread",
+ LINKFLAGS = "-pthread",
LIBS = gpsdlibs + rtlibs + dbus_xmit_libs)
gpsdecode = env.Program('gpsdecode', ['gpsdecode.c'], LIBS=gpsdlibs+rtlibs)
gpsctl = env.Program('gpsctl', ['gpsctl.c'], LIBS=gpsdlibs+rtlibs)