scons: use system compiler instead of gcc on FreeBSD

This commit is contained in:
Thomas Debesse 2017-08-30 18:55:56 +00:00
parent 8535f26206
commit 4c4ba27094

View file

@ -20,8 +20,12 @@ class Config:
self.config_selected = [ 'release' ]
# those are global to each config
self.platform = platform.system()
self.cc = 'gcc'
self.cxx = 'g++'
if ( self.platform == 'FreeBSD' ):
self.cc = 'cc'
self.cxx = 'c++'
else:
self.cc = 'gcc'
self.cxx = 'g++'
self.install_directory = 'install'
# platforms for which to assemble a setup