Skip to content
Snippets Groups Projects
Commit 514b232d authored by Antoine Cyril David Hoffmann's avatar Antoine Cyril David Hoffmann :seedling:
Browse files

set the -ld_classic flag only for MacOS

parent 3c44f151
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment