Don't default to gcc if the compiler can't be found
---
 wscript | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/wscript b/wscript
index b135da74be..c0a3fd31e8 100755
--- a/wscript
+++ b/wscript
@@ -1232,7 +1232,8 @@ def get_compiler(conf, cp, variant):
         value = no_unicode(value)
         check_compiler(conf, value)
     except configparser.NoOptionError:
-        value = "gcc"
+        conf.fatal('Compiler not found')
+
     return value


--
2.17.1

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to