Browse Source

Use --host=$(MACHINE) instead of --build=<hard coded triple>

tags/v1.0.0
Andrew Belt 5 years ago
parent
commit
45168562a7
1 changed files with 1 additions and 8 deletions
  1. +1
    -8
      dep.mk

+ 1
- 8
dep.mk View File

@@ -19,14 +19,7 @@ DEP_CXXFLAGS += $(DEP_FLAGS)
WGET := wget -c WGET := wget -c
UNTAR := tar xf UNTAR := tar xf
UNZIP := unzip -o 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 ifdef ARCH_WIN
CMAKE := cmake -G 'MSYS Makefiles' -DCMAKE_INSTALL_PREFIX="$(DEP_PATH)" CMAKE := cmake -G 'MSYS Makefiles' -DCMAKE_INSTALL_PREFIX="$(DEP_PATH)"


Loading…
Cancel
Save