Catch conflicting usage of ARCH in at least some BSD environments

fixes #1796
This commit is contained in:
Martin Kroeker
2018-10-08 22:29:35 +02:00
committed by GitHub
parent 697dc1baf8
commit d3d58f8ee5

View File

@@ -9,6 +9,11 @@ ifndef TOPDIR
TOPDIR = .
endif
# Catch conflicting usage of ARCH in some BSD environments
ifeq ($(ARCH), amd64)
override ARCH=x86_64
endif
NETLIB_LAPACK_DIR = $(TOPDIR)/lapack-netlib
# Default C compiler