From 046eb043aeebc31b922f632422b88107e840fd0b Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Tue, 16 Apr 2019 11:31:29 -0600 Subject: make: finish correcting host/build semantics --- contrib/libvpx/module.defs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'contrib/libvpx') diff --git a/contrib/libvpx/module.defs b/contrib/libvpx/module.defs index d10b0d91b..f4f869f4b 100644 --- a/contrib/libvpx/module.defs +++ b/contrib/libvpx/module.defs @@ -17,29 +17,29 @@ LIBVPX.CONFIGURE.extra = \ --disable-docs \ --disable-unit-tests -ifeq (1,$(BUILD.cross)) - LIBVPX.CONFIGURE.env.CROSS = CROSS="$(BUILD.spec)-" +ifeq (1,$(HOST.cross)) + LIBVPX.CONFIGURE.env.CROSS = CROSS="$(HOST.spec)-" LIBVPX.CONFIGURE.args.build = LIBVPX.CONFIGURE.extra += --enable-static-msvcrt - ifeq (i686,$(BUILD.machine)) + ifeq (i686,$(HOST.machine)) LIBVPX.CONFIGURE.extra += --target=x86-win32-gcc - else ifeq (x86_64,$(BUILD.machine)) + else ifeq (x86_64,$(HOST.machine)) LIBVPX.CONFIGURE.extra += --target=x86_64-win64-gcc endif endif -ifeq (linux,$(BUILD.system)) - ifeq (x86_64,$(BUILD.machine)) +ifeq (linux,$(HOST.system)) + ifeq (x86_64,$(HOST.machine)) LIBVPX.CONFIGURE.extra += --enable-pic endif endif -ifeq (0-darwin,$(BUILD.cross)-$(BUILD.system)) +ifeq (0-darwin,$(HOST.cross)-$(BUILD.system)) ifeq (x86_64,$(BUILD.machine)) LIBVPX.CONFIGURE.extra += --target=x86_64-darwin14-gcc endif endif -ifeq (1-mingw,$(BUILD.cross)-$(BUILD.system)) +ifeq (1-mingw,$(HOST.cross)-$(HOST.system)) LIBVPX.CONFIGURE.extra += --disable-avx512 endif -- cgit v1.2.3