diff options
author | Peter Simons <simons@cryp.to> | 2022-02-11 10:57:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-11 10:57:50 +0100 |
commit | 8292a7be113780bd3e930a735ddf96208d11a81f (patch) | |
tree | a6ea5eae00275926b585fa92bace1ab8a5a07b76 /m4/ax_cc_maxopt.m4 | |
parent | 6626f16da14388791954aec4856c79182d7909ab (diff) | |
parent | 70f4ba35b654231761c7286e8e921068adaeb266 (diff) | |
download | autoconf-archive-8292a7be113780bd3e930a735ddf96208d11a81f.tar.gz |
Merge pull request #240 from chuckatkins/detect-nvhpc
AX_COMPILER_VENDOR: Add support for the NVIDIA HPC Compiler
Diffstat (limited to 'm4/ax_cc_maxopt.m4')
-rw-r--r-- | m4/ax_cc_maxopt.m4 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/m4/ax_cc_maxopt.m4 b/m4/ax_cc_maxopt.m4 index ac999db..a6e573f 100644 --- a/m4/ax_cc_maxopt.m4 +++ b/m4/ax_cc_maxopt.m4 @@ -143,6 +143,10 @@ if test "x$ac_test_CFLAGS" = "x"; then fi ;; + nvhpc) + # default optimization flags for nvhpc + CFLAGS="$CFLAGS -O3" + gnu) # default optimization flags for gcc on all systems CFLAGS="$CFLAGS -O3 -fomit-frame-pointer" |