Skip to content

Commit 69d4301

Browse files
committed
Fixed beeware#116 - Corrects FFI compiler flags on iOS.
1 parent a26543c commit 69d4301

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

patch/Python/Setup.iOS

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ _ctypes _ctypes/_ctypes.c \
1111
-I$(srcdir)/Modules/_ctypes/darwin \
1212
-I$(srcdir)/../Support/libFFI/Headers \
1313
-DPy_BUILD_CORE_MODULE \
14-
-DHAVE_FFI_PREP_CIF_VAR=1 \
15-
-DHAVE_FFI_PREP_CLOSURE_LOC=1 -DHAVE_FFI_CLOSURE_ALLOC=1 \
14+
-DHAVE_FFI_PREP_CLOSURE_LOC=1 \
1615
-L$(srcdir)/../Support/libFFI \
1716
-lFFI
1817

patch/Python/Setup.tvOS

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ _ctypes _ctypes/_ctypes.c \
1111
-I$(srcdir)/Modules/_ctypes/darwin \
1212
-I$(srcdir)/../Support/libFFI/Headers \
1313
-DPy_BUILD_CORE_MODULE \
14-
-DHAVE_FFI_PREP_CIF_VAR=1 \
15-
-DHAVE_FFI_PREP_CLOSURE_LOC=1 -DHAVE_FFI_CLOSURE_ALLOC=1 \
14+
-DHAVE_FFI_PREP_CLOSURE_LOC=1 \
1615
-L$(srcdir)/../Support/libFFI \
1716
-lFFI
1817

patch/Python/Setup.watchOS

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ _ctypes _ctypes/_ctypes.c \
1111
-I$(srcdir)/Modules/_ctypes/darwin \
1212
-I$(srcdir)/../Support/libFFI/Headers \
1313
-DPy_BUILD_CORE_MODULE \
14-
-DHAVE_FFI_PREP_CIF_VAR=1 \
15-
-DHAVE_FFI_PREP_CLOSURE_LOC=1 -DHAVE_FFI_CLOSURE_ALLOC=1 \
14+
-DHAVE_FFI_PREP_CLOSURE_LOC=1 \
1615
-L$(srcdir)/../Support/libFFI \
1716
-lFFI
1817

0 commit comments

Comments
 (0)