diff options
author | Damiano Galassi <[email protected]> | 2020-11-05 09:34:07 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2020-11-05 09:49:16 +0100 |
commit | e8d7f67f0b25c3f25a4a09d0e2cb502f11bc5ad3 (patch) | |
tree | 03e38714b928fe726c7ae6cd78453899788a1459 /contrib/x265_10bit | |
parent | a8097ad3e3e247fb388d00a7569302c1c4e1736a (diff) |
contrib: combine some checks and cosmetics.
Diffstat (limited to 'contrib/x265_10bit')
-rw-r--r-- | contrib/x265_10bit/module.defs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/contrib/x265_10bit/module.defs b/contrib/x265_10bit/module.defs index 5a08029b7..4e7a918e7 100644 --- a/contrib/x265_10bit/module.defs +++ b/contrib/x265_10bit/module.defs @@ -26,11 +26,8 @@ ifeq (size-aggressive,$(GCC.O)) X265_10.CONFIGURE.extra += -DCMAKE_CXX_FLAGS_MINSIZEREL="-Oz -DNDEBUG" -DCMAKE_C_FLAGS_MINSIZEREL="-Oz -DNDEBUG" endif -ifeq (arm64-darwin,$(HOST.machine)-$(HOST.system)) - X265_10.CONFIGURE.extra += -DCMAKE_OSX_ARCHITECTURES=arm64 -endif -ifeq (x86_64-darwin,$(HOST.machine)-$(HOST.system)) - X265_10.CONFIGURE.extra += -DCMAKE_OSX_ARCHITECTURES=x86_64 +ifeq (darwin,$(HOST.system)) + X265_10.CONFIGURE.extra += -DCMAKE_OSX_ARCHITECTURES=$(HOST.machine) endif ifeq ($(GCC.O),$(filter $(GCC.O),size size-aggressive)) |