summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
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')