Skip to content

Commit b3fd7b4

Browse files
committed
Added cros compilation notes
1 parent 0445dec commit b3fd7b4

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

setup_pjsip.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@
4343
vpx_cflags = "-I/opt/local/include"
4444
vpx_ldflags = "-L/opt/local/lib"
4545

46+
# for cross-compiling on Apple M processor for x86_64 architecture
47+
# arch_flags = "-arch x86_64 -mmacosx-version-min=%s" % min_osx_version
48+
# and revert the patch deps/patches/009_aconfigure.patch that sets the CPU flags for webrtc AEC
49+
4650
# Prepare final flags
4751
arch_flags = "-mmacosx-version-min=%s" % min_osx_version
4852
local_cflags = " %s %s %s %s %s -mmacosx-version-min=%s -isysroot %s" % (arch_flags, ossl_cflags, sqlite_cflags, opus_cflags, vpx_cflags, min_osx_version, osx_sdk_path)

0 commit comments

Comments
 (0)