[PATCH 1/9] [waf] Fatal error if the compiler can't be found

Hesham Almatary Hesham.Almatary at cl.cam.ac.uk
Fri Apr 10 10:39:28 UTC 2020


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



More information about the devel mailing list