]> granicus.if.org Git - handbrake/commitdiff
contrib: Set libvpx target to minimum system version we support on macOS.
authorBradley Sepos <bradley@bradleysepos.com>
Mon, 18 Jun 2018 16:19:24 +0000 (12:19 -0400)
committerBradley Sepos <bradley@bradleysepos.com>
Mon, 18 Jun 2018 16:19:24 +0000 (12:19 -0400)
10.7 for 1.1.x.

contrib/libvpx/module.defs

index 35b4957be33ca23531de07da9d8275d92eb3b50a..08a71c9dc520036ad92e66815f34d2692f8e9162 100644 (file)
@@ -40,6 +40,12 @@ ifeq (linux,$(BUILD.system))
     endif
 endif
 
+ifeq (0-darwin,$(BUILD.cross)-$(BUILD.system))
+    ifeq (x86_64,$(BUILD.machine))
+        LIBVPX.CONFIGURE.extra += --target=x86_64-darwin11-gcc
+    endif
+endif
+
 ifeq (1,$(FEATURE.local_yasm))
     LIBVPX.CONFIGURE.env.LOCAL_PATH = PATH="$(call fn.ABSOLUTE,$(CONTRIB.build/)bin):$(PATH)"
     LIBVPX.BUILD.env = PATH="$(call fn.ABSOLUTE,$(CONTRIB.build/)bin):$(PATH)"