freebsd detection of _CPU [ci skip]

This commit is contained in:
Edoardo Aprà 2023-04-10 04:35:59 -07:00 committed by GitHub
parent 346455cc08
commit e32c5975cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)