From 45168562a7acfceebb761504787070e5c1607048 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Sun, 16 Jun 2019 08:37:54 -0400 Subject: [PATCH] Use --host=$(MACHINE) instead of --build= --- dep.mk | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/dep.mk b/dep.mk index d656f30b..d5374bf1 100644 --- a/dep.mk +++ b/dep.mk @@ -19,14 +19,7 @@ DEP_CXXFLAGS += $(DEP_FLAGS) WGET := wget -c UNTAR := tar xf UNZIP := unzip -o -CONFIGURE := ./configure --prefix="$(DEP_PATH)" -ifdef ARCH_WIN - CONFIGURE += --build=x86_64-w64-mingw32 -else ifdef ARCH_MAC - CONFIGURE += --build=x86_64-apple-darwin -else ifdef ARCH_LIN - CONFIGURE += --build=x86_64-unknown-linux-gnu -endif +CONFIGURE := ./configure --prefix="$(DEP_PATH)" --host=$(MACHINE) ifdef ARCH_WIN CMAKE := cmake -G 'MSYS Makefiles' -DCMAKE_INSTALL_PREFIX="$(DEP_PATH)"