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