mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-26 11:21:08 +00:00
scons: use system compiler instead of gcc on FreeBSD
This commit is contained in:
parent
8535f26206
commit
4c4ba27094
1 changed files with 6 additions and 2 deletions
|
@ -20,8 +20,12 @@ class Config:
|
||||||
self.config_selected = [ 'release' ]
|
self.config_selected = [ 'release' ]
|
||||||
# those are global to each config
|
# those are global to each config
|
||||||
self.platform = platform.system()
|
self.platform = platform.system()
|
||||||
self.cc = 'gcc'
|
if ( self.platform == 'FreeBSD' ):
|
||||||
self.cxx = 'g++'
|
self.cc = 'cc'
|
||||||
|
self.cxx = 'c++'
|
||||||
|
else:
|
||||||
|
self.cc = 'gcc'
|
||||||
|
self.cxx = 'g++'
|
||||||
self.install_directory = 'install'
|
self.install_directory = 'install'
|
||||||
|
|
||||||
# platforms for which to assemble a setup
|
# platforms for which to assemble a setup
|
||||||
|
|
Loading…
Reference in a new issue