mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-25 02:41:22 +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' ]
|
||||
# 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
|
||||
|
|
Loading…
Reference in a new issue