From 4c4ba27094667efcb822ff0f07bd83cee4ebe9d9 Mon Sep 17 00:00:00 2001 From: Thomas Debesse Date: Wed, 30 Aug 2017 18:55:56 +0000 Subject: [PATCH] scons: use system compiler instead of gcc on FreeBSD --- config.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/config.py b/config.py index dce2faad..3df1ff36 100644 --- a/config.py +++ b/config.py @@ -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