summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-13 22:35:46 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-15 17:51:18 +0100
commit06b5be0722782353ceff6e7fa94f115bd37ed8af (patch)
tree53627f360ea8f86766ecec5e3a4d2761bd9414d0 /cscript
parentb43726102d7417b4ada23696c31bf6e2b29b551f (diff)
Centos build fixes.
Diffstat (limited to 'cscript')
-rw-r--r--cscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/cscript b/cscript
index 9d1605b2f..7a6133645 100644
--- a/cscript
+++ b/cscript
@@ -169,7 +169,10 @@ def build(target, options):
if target.version == 'unstable':
cmd += ' --debian-unstable'
elif target.distro == 'centos':
- cmd += ' --target-centos'
+ if target.version == '6.5':
+ cmd += ' --target-centos-6'
+ elif target.version == '7':
+ cmd += ' --target-centos-7'
target.command(cmd)
target.command('./waf')