patchGNU Autoconf Archive - Patches: patch #10186, AX_CC_MAXOPT: Fix nvhpc case


patch #10186: AX_CC_MAXOPT: Fix nvhpc case

Submitter:  Rudi Heitbaum <heitbaum>
Submitted:  Sun 27 Feb 2022 03:15:58 AM UTC
Priority:  5 - Normal Status:  None
Assigned to:  None Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup

Sun 27 Feb 2022 03:15:58 AM UTC, original submission:  

From ecbf509871f16438d69ae157c690b7d9bedd62f0 Mon Sep 17 00:00:00 2001
From: Rudi Heitbaum <>
Date: Sun, 27 Feb 2022 03:07:58 +0000
Subject: [PATCH] AX_CC_MAXOPT: Fix nvhpc case

Missing ;; in the ax_cv_c_compiler_vendor case statement causing
syntax error with libffi configure:
  line y: syntax error near unexpected token `)'
  line y: `    gnu)'

Signed-off-by: Rudi Heitbaum <>
 m4/ax_cc_maxopt.m4 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/m4/ax_cc_maxopt.m4 b/m4/ax_cc_maxopt.m4
index 05218e3..58e267b 100644
--- a/m4/ax_cc_maxopt.m4
+++ b/m4/ax_cc_maxopt.m4
@@ -146,6 +146,7 @@ if test "x$ac_test_CFLAGS" = "x"; then
      # default optimization flags for nvhpc
      CFLAGS="$CFLAGS -O3"
+     ;;

      # default optimization flags for gcc on all systems

Rudi Heitbaum <heitbaum>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by heitbaum (Submitted the item)
  • -email is unavailable- added by heitbaum

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-02-27 heitbaum Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code