Fix possible error

Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
This commit is contained in:
DaniAndTheWeb 2023-05-05 23:10:28 +02:00 committed by GitHub
parent 471624b464
commit ab5e61d710
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@ ifndef UNAME_M
UNAME_M := $(shell uname -m)
endif
ARCH_LINUX := $(shell grep -e "Arch Linux" -e "ID_LIKE=arch" /etc/os-release)
ARCH_LINUX := $(shell grep -e "Arch Linux" -e "ID_LIKE=arch" /etc/os-release 2>/dev/null)
ifdef ARCH_LINUX
LDFLAGS_EXTRA += -lcblas
endif