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