summaryrefslogtreecommitdiffstats
path: root/external/python3/darwin.patch.0
blob: 30d20ed5757813beaf5db8039f509185fb3449d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- Modules/_ctypes/libffi_osx/x86/darwin64.S
+++ Modules/_ctypes/libffi_osx/x86/darwin64.S
@@ -29,7 +29,6 @@
 #include <fficonfig.h>
 #include <ffi.h>
 
- .file "darwin64.S"
 .text
 
 /* ffi_call_unix64 (void *args, unsigned long bytes, unsigned flags,
--- configure
+++ configure
@@ -5167,7 +5167,9 @@
 fi
 
 
+if test "$(uname -s)" = Darwin; then MULTIARCH=; else
 MULTIARCH=$($CC --print-multiarch 2>/dev/null)
+fi
 
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the platform triplet based on compiler characteristics" >&5