From 7b2caafd493e76f8896b76281fc975eddd703237 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sun, 3 Mar 2013 13:29:13 +0200 Subject: Can run first test case in OSX. --- environment.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'environment.py') diff --git a/environment.py b/environment.py index 6169475f5..b757ba4a5 100755 --- a/environment.py +++ b/environment.py @@ -291,6 +291,8 @@ class Environment(): if (out.startswith('cc ') or out.startswith('gcc')) and \ 'Free Software Foundation' in out: return GnuCCompiler(exelist) + if 'apple' in out and 'Free Software Foundation' in out: + return GnuCCompiler(exelist) if (out.startswith('clang')): return ClangCCompiler(exelist) raise EnvironmentException('Unknown compiler "' + ' '.join(exelist) + '"') -- cgit v1.2.3