From da396abbc111cb2836314319ef87cfade185ec2d Mon Sep 17 00:00:00 2001 From: edoapra Date: Sat, 21 Oct 2023 16:15:44 -0700 Subject: [PATCH] trying to fix the DONTHAVEM64OPT jungle https://github.com/nwchemgit/nwchem/issues/864#issuecomment-1773779486 --- src/config/makefile.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/config/makefile.h b/src/config/makefile.h index aac506c1c5..e326eac0b3 100644 --- a/src/config/makefile.h +++ b/src/config/makefile.h @@ -2119,12 +2119,11 @@ ifneq ($(TARGET),LINUX) FOPTIMIZE = -O2 - ifeq ($(_CPU),aarch64) + ifeq ($(_CPU),$(findstring $(_CPU),aarch64 mips64 loongarch64 riscv64 alpha ia64 hppa)) DONTHAVEM64OPT=Y endif ifeq ($(_CPU),mips64) - DONTHAVEM64OPT=Y COPTIONS = -mabi=64 FOPTIONS = -mabi=64 FFLAGS_FORGA = -mabi=64 @@ -2132,7 +2131,6 @@ ifneq ($(TARGET),LINUX) endif ifeq ($(_CPU),riscv64) - DONTHAVEM64OPT=Y COPTIONS = -march=rv64gc -mabi=lp64d FOPTIONS = -march=rv64gc -mabi=lp64d FFLAGS_FORGA = -march=rv64gc -mabi=lp64d