freebsd detection of _CPU [ci skip]

This commit is contained in:
Edoardo Aprà 2023-04-10 04:35:59 -07:00 committed by edoapra
parent 3d6564e389
commit e4fcd943db

View file

@ -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)