Merge branch 'master' of github.com:libffi/libffi
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
diff --git a/README.md b/README.md
index ca774f5..f7f7090 100644
--- a/README.md
+++ b/README.md
@@ -101,7 +101,6 @@ tested:
| X86 | Interix | GCC |
| X86 | kFreeBSD | GCC |
| X86 | Linux | GCC |
-| X86 | Mac OSX | GCC |
| X86 | OpenBSD | GCC |
| X86 | OS/2 | GCC |
| X86 | Solaris | GCC |
diff --git a/generate-darwin-source-and-headers.py b/generate-darwin-source-and-headers.py
index f7fc414..3d840b9 100755
--- a/generate-darwin-source-and-headers.py
+++ b/generate-darwin-source-and-headers.py
@@ -143,7 +143,7 @@ def build_target(platform, platform_headers):
mkdir_p(build_dir)
env = dict(CC=xcrun_cmd('clang'),
LD=xcrun_cmd('ld'),
- CFLAGS='%s' % (platform.version_min))
+ CFLAGS='%s -fembed-bitcode' % (platform.version_min))
working_dir = os.getcwd()
try:
os.chdir(build_dir)
@@ -173,7 +173,7 @@ def generate_source_and_headers(generate_osx=True, generate_ios=True):
copy_src_platform_files(device_platform)
copy_src_platform_files(device64_platform)
if generate_osx:
- copy_src_platform_files(desktop32_platform)
+# copy_src_platform_files(desktop32_platform)
copy_src_platform_files(desktop64_platform)
platform_headers = collections.defaultdict(set)
@@ -184,7 +184,7 @@ def generate_source_and_headers(generate_osx=True, generate_ios=True):
build_target(device_platform, platform_headers)
build_target(device64_platform, platform_headers)
if generate_osx:
- build_target(desktop32_platform, platform_headers)
+# build_target(desktop32_platform, platform_headers)
build_target(desktop64_platform, platform_headers)
mkdir_p('darwin_common/include')