mirror of https://github.com/GNOME/gimp.git
tools: make sure clang is not considered to be visual studio
just because it starts with "cl". Spotted by Joerg Sonnenberger.
This commit is contained in:
parent
3654619c27
commit
ac808b8b6b
|
@ -263,7 +263,8 @@ find_out_env_flags (void)
|
|||
else
|
||||
env_cc = CC;
|
||||
|
||||
if (g_ascii_strncasecmp (env_cc, "cl", 2) == 0)
|
||||
if (g_ascii_strncasecmp (env_cc, "cl", 2) == 0 &&
|
||||
g_ascii_strncasecmp (env_cc, "clang", 5) != 0)
|
||||
msvc_syntax = TRUE;
|
||||
|
||||
if ((p = getenv ("CFLAGS")) != NULL)
|
||||
|
|
Loading…
Reference in New Issue