From e4fcd943db5e582e31da1eb17401665b96b6606e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edoardo=20Apr=C3=A0?= Date: Mon, 10 Apr 2023 04:35:59 -0700 Subject: [PATCH] freebsd detection of _CPU [ci skip] --- src/config/makefile.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config/makefile.h b/src/config/makefile.h index afeaf08ca8..e520a5466a 100644 --- a/src/config/makefile.h +++ b/src/config/makefile.h @@ -2148,6 +2148,7 @@ ifneq ($(TARGET),LINUX) # LDOPTIONS +=-Wl,-rpath=/usr/local/lib/gcc7 LDOPTIONS += $(shell mpif90 -show 2>&1 |cut -d " " -f 2) ARFLAGS = rU + _CPU = $(shell uname -p) endif ifeq ($(_FC),gfortran)