mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-27 03:41:03 +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,6 +20,10 @@ 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()
|
||||||
|
if ( self.platform == 'FreeBSD' ):
|
||||||
|
self.cc = 'cc'
|
||||||
|
self.cxx = 'c++'
|
||||||
|
else:
|
||||||
self.cc = 'gcc'
|
self.cc = 'gcc'
|
||||||
self.cxx = 'g++'
|
self.cxx = 'g++'
|
||||||
self.install_directory = 'install'
|
self.install_directory = 'install'
|
||||||
|
|
Loading…
Reference in a new issue