From 514b232db2739e879350bda020368b66b6c39fa5 Mon Sep 17 00:00:00 2001 From: Antoine Hoffmann <antoine.hoffmann@epfl.ch> Date: Thu, 7 Dec 2023 14:48:12 +0100 Subject: [PATCH] set the -ld_classic flag only for MacOS --- local/make.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/local/make.inc b/local/make.inc index bde9520..b50de4a 100644 --- a/local/make.inc +++ b/local/make.inc @@ -9,7 +9,6 @@ OPTLEVEL = O F90FLAGS = CFLAGS = -LDFLAGS = -ld_classic ifeq ($(OPTLEVEL), O) #optimized ifeq ($(COMPTYPE), i) #intel @@ -114,7 +113,8 @@ endif ifeq ($(ENVTYPE), Marconi) #Linux env. EXTLIBS = $(LDIRS) -Wl,--start-group $(LIBS) -Wl,--end-group endif -ifeq ($(ENVTYPE), MacOS) #Linux env. +ifeq ($(ENVTYPE), MacOS) #MacOS (tested for Sonoma 14) + LDFLAGS = -ld_classic EXTLIBS = $(LDIRS) $(LIBS) endif -- GitLab