Im trying to build a WebRTC framework with enabled bitcode following those instructions:
- git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
- export PATH=/path/to/fetched/depot_tools:$PATH
- mkdir webrtc
- cd webrtc
- fetch --nohooks webrtc_ios
- gclient sync
- cd webrtc/src
- tools_webrtc/ios/build_ios_libs.py --bitcode --arch arm64 x64 arm
7 steps done successfully. But the next step is: tools_webrtc/ios/build_ios_libs.py --bitcode --arch arm64 x64 arm fails with error:
clang: error: unknown argument: '-ffile-compilation-dir=.'
[18/3367] CC obj/modules/audio_coding/isac_c/arith_routines_hist.o
Please help me to understand whats going wrong, and how to fix it, thanks.