Skip to content

Commit 8842ba3

Browse files
dnicolodirgommers
authored andcommitted
ENH: add objc and objcpp to the $ARCHFLAGS generated cross file
Allows $ARCHFLAGS enabled cross compilation of objc and objcpp. Fixes #468.
1 parent bf3d0f7 commit 8842ba3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mesonpy/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -650,6 +650,8 @@ def __init__( # noqa: C901
650650
[binaries]
651651
c = ['cc', '-arch', {arch!r}]
652652
cpp = ['c++', '-arch', {arch!r}]
653+
objc = ['cc', '-arch', {arch!r}]
654+
objcpp = ['c++', '-arch', {arch!r}]
653655
[host_machine]
654656
system = 'darwin'
655657
cpu = {arch!r}

0 commit comments

Comments
 (0)