summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2010-11-12 20:15:56 +0100
committerJon Bergli Heier <snakebite@jvnv.net>2010-11-12 20:15:56 +0100
commitad044e229af5e523699a977e7c0393d42695586e (patch)
treeaa86f5878399112dee94213f39fe4283eacd291a /SConstruct
parentdc4b7df61e2b1f270223dad5161c6d95fc6cfd1e (diff)
Remove broken threading support.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct5
1 files changed, 2 insertions, 3 deletions
diff --git a/SConstruct b/SConstruct
index 1f20d54..cbc8521 100644
--- a/SConstruct
+++ b/SConstruct
@@ -3,20 +3,19 @@ AddOption('--release', action = 'store_true')
env = Environment()
conf = Configure(env)
-for lib in ('config', 'pcre', 'xml2', 'pthread'):
+for lib in ('config', 'pcre', 'xml2'):
if not conf.CheckLib(lib):
print 'Could not find %s' % lib
Exit(1)
env = conf.Finish()
-env.Append(CCFLAGS = ['-std=c99', '-D_GNU_SOURCE', '-pthread'])
+env.Append(CCFLAGS = ['-std=c99', '-D_GNU_SOURCE'])
if GetOption('release'):
env.Append(CCFLAGS = ['-O2'])
else:
env.Append(CCFLAGS = ['-Wall', '-g'])
-env.Append(LINKFLAGS = ['-pthread'])
env.ParseConfig('pkg-config --cflags --libs libconfig')
env.ParseConfig('pcre-config --cflags --libs')
env.ParseConfig('xml2-config --cflags --libs')