698a2e
From 036562b66fa607152c6c54f0d6d030cd19bfcb7f Mon Sep 17 00:00:00 2001
698a2e
From: Andreas Arnez <arnez@linux.ibm.com>
698a2e
Date: Tue, 19 Feb 2019 19:03:52 +0100
698a2e
Subject: [PATCH 1/8] Avoid c99 standard compiler
698a2e
698a2e
When probing for a usable GCC, the existing code already dropped path
698a2e
names that contained "c89" or "c90", because these compilers don't have
698a2e
the GCC extensions enabled.  This patch also drops names with "c99" in
698a2e
them.
698a2e
---
698a2e
 CONFIG/src/atlconf_misc.c | 3 ++-
698a2e
 1 file changed, 2 insertions(+), 1 deletion(-)
698a2e
698a2e
diff --git a/CONFIG/src/atlconf_misc.c b/CONFIG/src/atlconf_misc.c
698a2e
index 63cb1ef..fb62214 100644
698a2e
--- a/CONFIG/src/atlconf_misc.c
698a2e
+++ b/CONFIG/src/atlconf_misc.c
698a2e
@@ -824,7 +824,8 @@ int CompIsGcc(char *comp)
698a2e
    int i;
698a2e
 
698a2e
    cmpname = NameWithoutPath(comp);
698a2e
-   if (strstr(cmpname, "c89") || strstr(cmpname, "c90"))
698a2e
+   if (strstr(cmpname, "c89") || strstr(cmpname, "c90") ||
698a2e
+       strstr(cmpname, "c99"))
698a2e
    {
698a2e
       free(cmpname);
698a2e
       return(0);
698a2e
-- 
698a2e
2.23.0
698a2e