summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--base/webrtc_base.target.darwin-arm.mk2
-rw-r--r--base/webrtc_base.target.darwin-arm64.mk2
-rw-r--r--base/webrtc_base.target.darwin-mips.mk2
-rw-r--r--base/webrtc_base.target.darwin-x86.mk2
-rw-r--r--base/webrtc_base.target.darwin-x86_64.mk2
-rw-r--r--base/webrtc_base.target.linux-arm.mk2
-rw-r--r--base/webrtc_base.target.linux-arm64.mk2
-rw-r--r--base/webrtc_base.target.linux-mips.mk2
-rw-r--r--base/webrtc_base.target.linux-x86.mk2
-rw-r--r--base/webrtc_base.target.linux-x86_64.mk2
-rw-r--r--common_audio/common_audio.target.darwin-arm.mk2
-rw-r--r--common_audio/common_audio.target.darwin-arm64.mk2
-rw-r--r--common_audio/common_audio.target.darwin-mips.mk2
-rw-r--r--common_audio/common_audio.target.darwin-x86.mk2
-rw-r--r--common_audio/common_audio.target.darwin-x86_64.mk2
-rw-r--r--common_audio/common_audio.target.linux-arm.mk2
-rw-r--r--common_audio/common_audio.target.linux-arm64.mk2
-rw-r--r--common_audio/common_audio.target.linux-mips.mk2
-rw-r--r--common_audio/common_audio.target.linux-x86.mk2
-rw-r--r--common_audio/common_audio.target.linux-x86_64.mk2
-rw-r--r--common_audio/common_audio_neon.target.darwin-arm.mk2
-rw-r--r--common_audio/common_audio_neon.target.linux-arm.mk2
-rw-r--r--common_audio/common_audio_sse2.target.darwin-x86.mk2
-rw-r--r--common_audio/common_audio_sse2.target.darwin-x86_64.mk2
-rw-r--r--common_audio/common_audio_sse2.target.linux-x86.mk2
-rw-r--r--common_audio/common_audio_sse2.target.linux-x86_64.mk2
-rw-r--r--common_video/common_video.target.darwin-arm.mk2
-rw-r--r--common_video/common_video.target.darwin-arm64.mk2
-rw-r--r--common_video/common_video.target.darwin-mips.mk2
-rw-r--r--common_video/common_video.target.darwin-x86.mk2
-rw-r--r--common_video/common_video.target.darwin-x86_64.mk2
-rw-r--r--common_video/common_video.target.linux-arm.mk2
-rw-r--r--common_video/common_video.target.linux-arm64.mk2
-rw-r--r--common_video/common_video.target.linux-mips.mk2
-rw-r--r--common_video/common_video.target.linux-x86.mk2
-rw-r--r--common_video/common_video.target.linux-x86_64.mk2
-rw-r--r--modules/CNG.target.darwin-arm.mk2
-rw-r--r--modules/CNG.target.darwin-arm64.mk2
-rw-r--r--modules/CNG.target.darwin-mips.mk2
-rw-r--r--modules/CNG.target.darwin-x86.mk2
-rw-r--r--modules/CNG.target.darwin-x86_64.mk2
-rw-r--r--modules/CNG.target.linux-arm.mk2
-rw-r--r--modules/CNG.target.linux-arm64.mk2
-rw-r--r--modules/CNG.target.linux-mips.mk2
-rw-r--r--modules/CNG.target.linux-x86.mk2
-rw-r--r--modules/CNG.target.linux-x86_64.mk2
-rw-r--r--modules/G711.target.darwin-arm.mk2
-rw-r--r--modules/G711.target.darwin-arm64.mk2
-rw-r--r--modules/G711.target.darwin-mips.mk2
-rw-r--r--modules/G711.target.darwin-x86.mk2
-rw-r--r--modules/G711.target.darwin-x86_64.mk2
-rw-r--r--modules/G711.target.linux-arm.mk2
-rw-r--r--modules/G711.target.linux-arm64.mk2
-rw-r--r--modules/G711.target.linux-mips.mk2
-rw-r--r--modules/G711.target.linux-x86.mk2
-rw-r--r--modules/G711.target.linux-x86_64.mk2
-rw-r--r--modules/G722.target.darwin-arm.mk2
-rw-r--r--modules/G722.target.darwin-arm64.mk2
-rw-r--r--modules/G722.target.darwin-mips.mk2
-rw-r--r--modules/G722.target.darwin-x86.mk2
-rw-r--r--modules/G722.target.darwin-x86_64.mk2
-rw-r--r--modules/G722.target.linux-arm.mk2
-rw-r--r--modules/G722.target.linux-arm64.mk2
-rw-r--r--modules/G722.target.linux-mips.mk2
-rw-r--r--modules/G722.target.linux-x86.mk2
-rw-r--r--modules/G722.target.linux-x86_64.mk2
-rw-r--r--modules/NetEq4.target.darwin-arm.mk2
-rw-r--r--modules/NetEq4.target.darwin-arm64.mk2
-rw-r--r--modules/NetEq4.target.darwin-mips.mk2
-rw-r--r--modules/NetEq4.target.darwin-x86.mk2
-rw-r--r--modules/NetEq4.target.darwin-x86_64.mk2
-rw-r--r--modules/NetEq4.target.linux-arm.mk2
-rw-r--r--modules/NetEq4.target.linux-arm64.mk2
-rw-r--r--modules/NetEq4.target.linux-mips.mk2
-rw-r--r--modules/NetEq4.target.linux-x86.mk2
-rw-r--r--modules/NetEq4.target.linux-x86_64.mk2
-rw-r--r--modules/PCM16B.target.darwin-arm.mk2
-rw-r--r--modules/PCM16B.target.darwin-arm64.mk2
-rw-r--r--modules/PCM16B.target.darwin-mips.mk2
-rw-r--r--modules/PCM16B.target.darwin-x86.mk2
-rw-r--r--modules/PCM16B.target.darwin-x86_64.mk2
-rw-r--r--modules/PCM16B.target.linux-arm.mk2
-rw-r--r--modules/PCM16B.target.linux-arm64.mk2
-rw-r--r--modules/PCM16B.target.linux-mips.mk2
-rw-r--r--modules/PCM16B.target.linux-x86.mk2
-rw-r--r--modules/PCM16B.target.linux-x86_64.mk2
-rw-r--r--modules/audio_coding_module.target.darwin-arm.mk2
-rw-r--r--modules/audio_coding_module.target.darwin-arm64.mk2
-rw-r--r--modules/audio_coding_module.target.darwin-mips.mk2
-rw-r--r--modules/audio_coding_module.target.darwin-x86.mk2
-rw-r--r--modules/audio_coding_module.target.darwin-x86_64.mk2
-rw-r--r--modules/audio_coding_module.target.linux-arm.mk2
-rw-r--r--modules/audio_coding_module.target.linux-arm64.mk2
-rw-r--r--modules/audio_coding_module.target.linux-mips.mk2
-rw-r--r--modules/audio_coding_module.target.linux-x86.mk2
-rw-r--r--modules/audio_coding_module.target.linux-x86_64.mk2
-rw-r--r--modules/audio_conference_mixer.target.darwin-arm.mk2
-rw-r--r--modules/audio_conference_mixer.target.darwin-arm64.mk2
-rw-r--r--modules/audio_conference_mixer.target.darwin-mips.mk2
-rw-r--r--modules/audio_conference_mixer.target.darwin-x86.mk2
-rw-r--r--modules/audio_conference_mixer.target.darwin-x86_64.mk2
-rw-r--r--modules/audio_conference_mixer.target.linux-arm.mk2
-rw-r--r--modules/audio_conference_mixer.target.linux-arm64.mk2
-rw-r--r--modules/audio_conference_mixer.target.linux-mips.mk2
-rw-r--r--modules/audio_conference_mixer.target.linux-x86.mk2
-rw-r--r--modules/audio_conference_mixer.target.linux-x86_64.mk2
-rw-r--r--modules/audio_device.target.darwin-arm.mk2
-rw-r--r--modules/audio_device.target.darwin-arm64.mk2
-rw-r--r--modules/audio_device.target.darwin-mips.mk2
-rw-r--r--modules/audio_device.target.darwin-x86.mk2
-rw-r--r--modules/audio_device.target.darwin-x86_64.mk2
-rw-r--r--modules/audio_device.target.linux-arm.mk2
-rw-r--r--modules/audio_device.target.linux-arm64.mk2
-rw-r--r--modules/audio_device.target.linux-mips.mk2
-rw-r--r--modules/audio_device.target.linux-x86.mk2
-rw-r--r--modules/audio_device.target.linux-x86_64.mk2
-rw-r--r--modules/audio_processing.target.darwin-arm.mk2
-rw-r--r--modules/audio_processing.target.darwin-arm64.mk2
-rw-r--r--modules/audio_processing.target.darwin-mips.mk2
-rw-r--r--modules/audio_processing.target.darwin-x86.mk2
-rw-r--r--modules/audio_processing.target.darwin-x86_64.mk2
-rw-r--r--modules/audio_processing.target.linux-arm.mk2
-rw-r--r--modules/audio_processing.target.linux-arm64.mk2
-rw-r--r--modules/audio_processing.target.linux-mips.mk2
-rw-r--r--modules/audio_processing.target.linux-x86.mk2
-rw-r--r--modules/audio_processing.target.linux-x86_64.mk2
-rw-r--r--modules/audio_processing/lib_core_neon_offsets.target.darwin-arm.mk2
-rw-r--r--modules/audio_processing/lib_core_neon_offsets.target.linux-arm.mk2
-rw-r--r--modules/audio_processing_neon.target.darwin-arm.mk2
-rw-r--r--modules/audio_processing_neon.target.linux-arm.mk2
-rw-r--r--modules/audio_processing_sse2.target.darwin-x86.mk2
-rw-r--r--modules/audio_processing_sse2.target.darwin-x86_64.mk2
-rw-r--r--modules/audio_processing_sse2.target.linux-x86.mk2
-rw-r--r--modules/audio_processing_sse2.target.linux-x86_64.mk2
-rw-r--r--modules/audioproc_debug_proto.target.darwin-arm.mk2
-rw-r--r--modules/audioproc_debug_proto.target.darwin-arm64.mk2
-rw-r--r--modules/audioproc_debug_proto.target.darwin-mips.mk2
-rw-r--r--modules/audioproc_debug_proto.target.darwin-x86.mk2
-rw-r--r--modules/audioproc_debug_proto.target.darwin-x86_64.mk2
-rw-r--r--modules/audioproc_debug_proto.target.linux-arm.mk2
-rw-r--r--modules/audioproc_debug_proto.target.linux-arm64.mk2
-rw-r--r--modules/audioproc_debug_proto.target.linux-mips.mk2
-rw-r--r--modules/audioproc_debug_proto.target.linux-x86.mk2
-rw-r--r--modules/audioproc_debug_proto.target.linux-x86_64.mk2
-rw-r--r--modules/bitrate_controller.target.darwin-arm.mk2
-rw-r--r--modules/bitrate_controller.target.darwin-arm64.mk2
-rw-r--r--modules/bitrate_controller.target.darwin-mips.mk2
-rw-r--r--modules/bitrate_controller.target.darwin-x86.mk2
-rw-r--r--modules/bitrate_controller.target.darwin-x86_64.mk2
-rw-r--r--modules/bitrate_controller.target.linux-arm.mk2
-rw-r--r--modules/bitrate_controller.target.linux-arm64.mk2
-rw-r--r--modules/bitrate_controller.target.linux-mips.mk2
-rw-r--r--modules/bitrate_controller.target.linux-x86.mk2
-rw-r--r--modules/bitrate_controller.target.linux-x86_64.mk2
-rw-r--r--modules/iLBC.target.darwin-arm.mk2
-rw-r--r--modules/iLBC.target.darwin-arm64.mk2
-rw-r--r--modules/iLBC.target.darwin-mips.mk2
-rw-r--r--modules/iLBC.target.darwin-x86.mk2
-rw-r--r--modules/iLBC.target.darwin-x86_64.mk2
-rw-r--r--modules/iLBC.target.linux-arm.mk2
-rw-r--r--modules/iLBC.target.linux-arm64.mk2
-rw-r--r--modules/iLBC.target.linux-mips.mk2
-rw-r--r--modules/iLBC.target.linux-x86.mk2
-rw-r--r--modules/iLBC.target.linux-x86_64.mk2
-rw-r--r--modules/iSAC.target.darwin-arm.mk2
-rw-r--r--modules/iSAC.target.darwin-arm64.mk2
-rw-r--r--modules/iSAC.target.darwin-mips.mk2
-rw-r--r--modules/iSAC.target.darwin-x86.mk2
-rw-r--r--modules/iSAC.target.darwin-x86_64.mk2
-rw-r--r--modules/iSAC.target.linux-arm.mk2
-rw-r--r--modules/iSAC.target.linux-arm64.mk2
-rw-r--r--modules/iSAC.target.linux-mips.mk2
-rw-r--r--modules/iSAC.target.linux-x86.mk2
-rw-r--r--modules/iSAC.target.linux-x86_64.mk2
-rw-r--r--modules/iSACFix.target.darwin-arm.mk2
-rw-r--r--modules/iSACFix.target.darwin-arm64.mk2
-rw-r--r--modules/iSACFix.target.darwin-mips.mk2
-rw-r--r--modules/iSACFix.target.darwin-x86.mk2
-rw-r--r--modules/iSACFix.target.darwin-x86_64.mk2
-rw-r--r--modules/iSACFix.target.linux-arm.mk2
-rw-r--r--modules/iSACFix.target.linux-arm64.mk2
-rw-r--r--modules/iSACFix.target.linux-mips.mk2
-rw-r--r--modules/iSACFix.target.linux-x86.mk2
-rw-r--r--modules/iSACFix.target.linux-x86_64.mk2
-rw-r--r--modules/isac_neon.target.darwin-arm.mk2
-rw-r--r--modules/isac_neon.target.linux-arm.mk2
-rw-r--r--modules/media_file.target.darwin-arm.mk2
-rw-r--r--modules/media_file.target.darwin-arm64.mk2
-rw-r--r--modules/media_file.target.darwin-mips.mk2
-rw-r--r--modules/media_file.target.darwin-x86.mk2
-rw-r--r--modules/media_file.target.darwin-x86_64.mk2
-rw-r--r--modules/media_file.target.linux-arm.mk2
-rw-r--r--modules/media_file.target.linux-arm64.mk2
-rw-r--r--modules/media_file.target.linux-mips.mk2
-rw-r--r--modules/media_file.target.linux-x86.mk2
-rw-r--r--modules/media_file.target.linux-x86_64.mk2
-rw-r--r--modules/paced_sender.target.darwin-arm.mk2
-rw-r--r--modules/paced_sender.target.darwin-arm64.mk2
-rw-r--r--modules/paced_sender.target.darwin-mips.mk2
-rw-r--r--modules/paced_sender.target.darwin-x86.mk2
-rw-r--r--modules/paced_sender.target.darwin-x86_64.mk2
-rw-r--r--modules/paced_sender.target.linux-arm.mk2
-rw-r--r--modules/paced_sender.target.linux-arm64.mk2
-rw-r--r--modules/paced_sender.target.linux-mips.mk2
-rw-r--r--modules/paced_sender.target.linux-x86.mk2
-rw-r--r--modules/paced_sender.target.linux-x86_64.mk2
-rw-r--r--modules/remote_bitrate_estimator.target.darwin-arm.mk2
-rw-r--r--modules/remote_bitrate_estimator.target.darwin-arm64.mk2
-rw-r--r--modules/remote_bitrate_estimator.target.darwin-mips.mk2
-rw-r--r--modules/remote_bitrate_estimator.target.darwin-x86.mk2
-rw-r--r--modules/remote_bitrate_estimator.target.darwin-x86_64.mk2
-rw-r--r--modules/remote_bitrate_estimator.target.linux-arm.mk2
-rw-r--r--modules/remote_bitrate_estimator.target.linux-arm64.mk2
-rw-r--r--modules/remote_bitrate_estimator.target.linux-mips.mk2
-rw-r--r--modules/remote_bitrate_estimator.target.linux-x86.mk2
-rw-r--r--modules/remote_bitrate_estimator.target.linux-x86_64.mk2
-rw-r--r--modules/remote_bitrate_estimator/rbe_components.target.darwin-arm.mk2
-rw-r--r--modules/remote_bitrate_estimator/rbe_components.target.darwin-arm64.mk2
-rw-r--r--modules/remote_bitrate_estimator/rbe_components.target.darwin-mips.mk2
-rw-r--r--modules/remote_bitrate_estimator/rbe_components.target.darwin-x86.mk2
-rw-r--r--modules/remote_bitrate_estimator/rbe_components.target.darwin-x86_64.mk2
-rw-r--r--modules/remote_bitrate_estimator/rbe_components.target.linux-arm.mk2
-rw-r--r--modules/remote_bitrate_estimator/rbe_components.target.linux-arm64.mk2
-rw-r--r--modules/remote_bitrate_estimator/rbe_components.target.linux-mips.mk2
-rw-r--r--modules/remote_bitrate_estimator/rbe_components.target.linux-x86.mk2
-rw-r--r--modules/remote_bitrate_estimator/rbe_components.target.linux-x86_64.mk2
-rw-r--r--modules/rtp_rtcp.target.darwin-arm.mk2
-rw-r--r--modules/rtp_rtcp.target.darwin-arm64.mk2
-rw-r--r--modules/rtp_rtcp.target.darwin-mips.mk2
-rw-r--r--modules/rtp_rtcp.target.darwin-x86.mk2
-rw-r--r--modules/rtp_rtcp.target.darwin-x86_64.mk2
-rw-r--r--modules/rtp_rtcp.target.linux-arm.mk2
-rw-r--r--modules/rtp_rtcp.target.linux-arm64.mk2
-rw-r--r--modules/rtp_rtcp.target.linux-mips.mk2
-rw-r--r--modules/rtp_rtcp.target.linux-x86.mk2
-rw-r--r--modules/rtp_rtcp.target.linux-x86_64.mk2
-rw-r--r--modules/video_capture_module.target.darwin-arm.mk2
-rw-r--r--modules/video_capture_module.target.darwin-arm64.mk2
-rw-r--r--modules/video_capture_module.target.darwin-mips.mk2
-rw-r--r--modules/video_capture_module.target.darwin-x86.mk2
-rw-r--r--modules/video_capture_module.target.darwin-x86_64.mk2
-rw-r--r--modules/video_capture_module.target.linux-arm.mk2
-rw-r--r--modules/video_capture_module.target.linux-arm64.mk2
-rw-r--r--modules/video_capture_module.target.linux-mips.mk2
-rw-r--r--modules/video_capture_module.target.linux-x86.mk2
-rw-r--r--modules/video_capture_module.target.linux-x86_64.mk2
-rw-r--r--modules/video_coding/codecs/vp8/webrtc_vp8.target.darwin-arm.mk2
-rw-r--r--modules/video_coding/codecs/vp8/webrtc_vp8.target.darwin-arm64.mk2
-rw-r--r--modules/video_coding/codecs/vp8/webrtc_vp8.target.darwin-mips.mk2
-rw-r--r--modules/video_coding/codecs/vp8/webrtc_vp8.target.darwin-x86.mk2
-rw-r--r--modules/video_coding/codecs/vp8/webrtc_vp8.target.darwin-x86_64.mk2
-rw-r--r--modules/video_coding/codecs/vp8/webrtc_vp8.target.linux-arm.mk2
-rw-r--r--modules/video_coding/codecs/vp8/webrtc_vp8.target.linux-arm64.mk2
-rw-r--r--modules/video_coding/codecs/vp8/webrtc_vp8.target.linux-mips.mk2
-rw-r--r--modules/video_coding/codecs/vp8/webrtc_vp8.target.linux-x86.mk2
-rw-r--r--modules/video_coding/codecs/vp8/webrtc_vp8.target.linux-x86_64.mk2
-rw-r--r--modules/video_coding/utility/video_coding_utility.target.darwin-arm.mk2
-rw-r--r--modules/video_coding/utility/video_coding_utility.target.darwin-arm64.mk2
-rw-r--r--modules/video_coding/utility/video_coding_utility.target.darwin-mips.mk2
-rw-r--r--modules/video_coding/utility/video_coding_utility.target.darwin-x86.mk2
-rw-r--r--modules/video_coding/utility/video_coding_utility.target.darwin-x86_64.mk2
-rw-r--r--modules/video_coding/utility/video_coding_utility.target.linux-arm.mk2
-rw-r--r--modules/video_coding/utility/video_coding_utility.target.linux-arm64.mk2
-rw-r--r--modules/video_coding/utility/video_coding_utility.target.linux-mips.mk2
-rw-r--r--modules/video_coding/utility/video_coding_utility.target.linux-x86.mk2
-rw-r--r--modules/video_coding/utility/video_coding_utility.target.linux-x86_64.mk2
-rw-r--r--modules/video_processing.target.darwin-arm.mk2
-rw-r--r--modules/video_processing.target.darwin-arm64.mk2
-rw-r--r--modules/video_processing.target.darwin-mips.mk2
-rw-r--r--modules/video_processing.target.darwin-x86.mk2
-rw-r--r--modules/video_processing.target.darwin-x86_64.mk2
-rw-r--r--modules/video_processing.target.linux-arm.mk2
-rw-r--r--modules/video_processing.target.linux-arm64.mk2
-rw-r--r--modules/video_processing.target.linux-mips.mk2
-rw-r--r--modules/video_processing.target.linux-x86.mk2
-rw-r--r--modules/video_processing.target.linux-x86_64.mk2
-rw-r--r--modules/video_processing_sse2.target.darwin-x86.mk2
-rw-r--r--modules/video_processing_sse2.target.darwin-x86_64.mk2
-rw-r--r--modules/video_processing_sse2.target.linux-x86.mk2
-rw-r--r--modules/video_processing_sse2.target.linux-x86_64.mk2
-rw-r--r--modules/video_render_module.target.darwin-arm.mk2
-rw-r--r--modules/video_render_module.target.darwin-arm64.mk2
-rw-r--r--modules/video_render_module.target.darwin-mips.mk2
-rw-r--r--modules/video_render_module.target.darwin-x86.mk2
-rw-r--r--modules/video_render_module.target.darwin-x86_64.mk2
-rw-r--r--modules/video_render_module.target.linux-arm.mk2
-rw-r--r--modules/video_render_module.target.linux-arm64.mk2
-rw-r--r--modules/video_render_module.target.linux-mips.mk2
-rw-r--r--modules/video_render_module.target.linux-x86.mk2
-rw-r--r--modules/video_render_module.target.linux-x86_64.mk2
-rw-r--r--modules/webrtc_i420.target.darwin-arm.mk2
-rw-r--r--modules/webrtc_i420.target.darwin-arm64.mk2
-rw-r--r--modules/webrtc_i420.target.darwin-mips.mk2
-rw-r--r--modules/webrtc_i420.target.darwin-x86.mk2
-rw-r--r--modules/webrtc_i420.target.darwin-x86_64.mk2
-rw-r--r--modules/webrtc_i420.target.linux-arm.mk2
-rw-r--r--modules/webrtc_i420.target.linux-arm64.mk2
-rw-r--r--modules/webrtc_i420.target.linux-mips.mk2
-rw-r--r--modules/webrtc_i420.target.linux-x86.mk2
-rw-r--r--modules/webrtc_i420.target.linux-x86_64.mk2
-rw-r--r--modules/webrtc_opus.target.darwin-arm.mk2
-rw-r--r--modules/webrtc_opus.target.darwin-arm64.mk2
-rw-r--r--modules/webrtc_opus.target.darwin-mips.mk2
-rw-r--r--modules/webrtc_opus.target.darwin-x86.mk2
-rw-r--r--modules/webrtc_opus.target.darwin-x86_64.mk2
-rw-r--r--modules/webrtc_opus.target.linux-arm.mk2
-rw-r--r--modules/webrtc_opus.target.linux-arm64.mk2
-rw-r--r--modules/webrtc_opus.target.linux-mips.mk2
-rw-r--r--modules/webrtc_opus.target.linux-x86.mk2
-rw-r--r--modules/webrtc_opus.target.linux-x86_64.mk2
-rw-r--r--modules/webrtc_utility.target.darwin-arm.mk2
-rw-r--r--modules/webrtc_utility.target.darwin-arm64.mk2
-rw-r--r--modules/webrtc_utility.target.darwin-mips.mk2
-rw-r--r--modules/webrtc_utility.target.darwin-x86.mk2
-rw-r--r--modules/webrtc_utility.target.darwin-x86_64.mk2
-rw-r--r--modules/webrtc_utility.target.linux-arm.mk2
-rw-r--r--modules/webrtc_utility.target.linux-arm64.mk2
-rw-r--r--modules/webrtc_utility.target.linux-mips.mk2
-rw-r--r--modules/webrtc_utility.target.linux-x86.mk2
-rw-r--r--modules/webrtc_utility.target.linux-x86_64.mk2
-rw-r--r--modules/webrtc_video_coding.target.darwin-arm.mk2
-rw-r--r--modules/webrtc_video_coding.target.darwin-arm64.mk2
-rw-r--r--modules/webrtc_video_coding.target.darwin-mips.mk2
-rw-r--r--modules/webrtc_video_coding.target.darwin-x86.mk2
-rw-r--r--modules/webrtc_video_coding.target.darwin-x86_64.mk2
-rw-r--r--modules/webrtc_video_coding.target.linux-arm.mk2
-rw-r--r--modules/webrtc_video_coding.target.linux-arm64.mk2
-rw-r--r--modules/webrtc_video_coding.target.linux-mips.mk2
-rw-r--r--modules/webrtc_video_coding.target.linux-x86.mk2
-rw-r--r--modules/webrtc_video_coding.target.linux-x86_64.mk2
-rw-r--r--system_wrappers/source/cpu_features_android.target.darwin-arm.mk2
-rw-r--r--system_wrappers/source/cpu_features_android.target.darwin-arm64.mk2
-rw-r--r--system_wrappers/source/cpu_features_android.target.darwin-mips.mk2
-rw-r--r--system_wrappers/source/cpu_features_android.target.darwin-x86.mk2
-rw-r--r--system_wrappers/source/cpu_features_android.target.darwin-x86_64.mk2
-rw-r--r--system_wrappers/source/cpu_features_android.target.linux-arm.mk2
-rw-r--r--system_wrappers/source/cpu_features_android.target.linux-arm64.mk2
-rw-r--r--system_wrappers/source/cpu_features_android.target.linux-mips.mk2
-rw-r--r--system_wrappers/source/cpu_features_android.target.linux-x86.mk2
-rw-r--r--system_wrappers/source/cpu_features_android.target.linux-x86_64.mk2
-rw-r--r--system_wrappers/source/system_wrappers.target.darwin-arm.mk2
-rw-r--r--system_wrappers/source/system_wrappers.target.darwin-arm64.mk2
-rw-r--r--system_wrappers/source/system_wrappers.target.darwin-mips.mk2
-rw-r--r--system_wrappers/source/system_wrappers.target.darwin-x86.mk2
-rw-r--r--system_wrappers/source/system_wrappers.target.darwin-x86_64.mk2
-rw-r--r--system_wrappers/source/system_wrappers.target.linux-arm.mk2
-rw-r--r--system_wrappers/source/system_wrappers.target.linux-arm64.mk2
-rw-r--r--system_wrappers/source/system_wrappers.target.linux-mips.mk2
-rw-r--r--system_wrappers/source/system_wrappers.target.linux-x86.mk2
-rw-r--r--system_wrappers/source/system_wrappers.target.linux-x86_64.mk2
-rw-r--r--video_engine/video_engine_core.target.darwin-arm.mk2
-rw-r--r--video_engine/video_engine_core.target.darwin-arm64.mk2
-rw-r--r--video_engine/video_engine_core.target.darwin-mips.mk2
-rw-r--r--video_engine/video_engine_core.target.darwin-x86.mk2
-rw-r--r--video_engine/video_engine_core.target.darwin-x86_64.mk2
-rw-r--r--video_engine/video_engine_core.target.linux-arm.mk2
-rw-r--r--video_engine/video_engine_core.target.linux-arm64.mk2
-rw-r--r--video_engine/video_engine_core.target.linux-mips.mk2
-rw-r--r--video_engine/video_engine_core.target.linux-x86.mk2
-rw-r--r--video_engine/video_engine_core.target.linux-x86_64.mk2
-rw-r--r--voice_engine/voice_engine.target.darwin-arm.mk2
-rw-r--r--voice_engine/voice_engine.target.darwin-arm64.mk2
-rw-r--r--voice_engine/voice_engine.target.darwin-mips.mk2
-rw-r--r--voice_engine/voice_engine.target.darwin-x86.mk2
-rw-r--r--voice_engine/voice_engine.target.darwin-x86_64.mk2
-rw-r--r--voice_engine/voice_engine.target.linux-arm.mk2
-rw-r--r--voice_engine/voice_engine.target.linux-arm64.mk2
-rw-r--r--voice_engine/voice_engine.target.linux-mips.mk2
-rw-r--r--voice_engine/voice_engine.target.linux-x86.mk2
-rw-r--r--voice_engine/voice_engine.target.linux-x86_64.mk2
-rw-r--r--webrtc.target.darwin-arm.mk2
-rw-r--r--webrtc.target.darwin-arm64.mk2
-rw-r--r--webrtc.target.darwin-mips.mk2
-rw-r--r--webrtc.target.darwin-x86.mk2
-rw-r--r--webrtc.target.darwin-x86_64.mk2
-rw-r--r--webrtc.target.linux-arm.mk2
-rw-r--r--webrtc.target.linux-arm64.mk2
-rw-r--r--webrtc.target.linux-mips.mk2
-rw-r--r--webrtc.target.linux-x86.mk2
-rw-r--r--webrtc.target.linux-x86_64.mk2
-rw-r--r--webrtc_common.target.darwin-arm.mk2
-rw-r--r--webrtc_common.target.darwin-arm64.mk2
-rw-r--r--webrtc_common.target.darwin-mips.mk2
-rw-r--r--webrtc_common.target.darwin-x86.mk2
-rw-r--r--webrtc_common.target.darwin-x86_64.mk2
-rw-r--r--webrtc_common.target.linux-arm.mk2
-rw-r--r--webrtc_common.target.linux-arm64.mk2
-rw-r--r--webrtc_common.target.linux-mips.mk2
-rw-r--r--webrtc_common.target.linux-x86.mk2
-rw-r--r--webrtc_common.target.linux-x86_64.mk2
390 files changed, 780 insertions, 0 deletions
diff --git a/base/webrtc_base.target.darwin-arm.mk b/base/webrtc_base.target.darwin-arm.mk
index f8450e7c..47f54b05 100644
--- a/base/webrtc_base.target.darwin-arm.mk
+++ b/base/webrtc_base.target.darwin-arm.mk
@@ -360,6 +360,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -377,6 +378,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/base/webrtc_base.target.darwin-arm64.mk b/base/webrtc_base.target.darwin-arm64.mk
index 08351d89..af485336 100644
--- a/base/webrtc_base.target.darwin-arm64.mk
+++ b/base/webrtc_base.target.darwin-arm64.mk
@@ -329,6 +329,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -342,6 +343,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/base/webrtc_base.target.darwin-mips.mk b/base/webrtc_base.target.darwin-mips.mk
index 0f51b1b6..8c23419c 100644
--- a/base/webrtc_base.target.darwin-mips.mk
+++ b/base/webrtc_base.target.darwin-mips.mk
@@ -347,6 +347,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -362,6 +363,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/base/webrtc_base.target.darwin-x86.mk b/base/webrtc_base.target.darwin-x86.mk
index ebe78fc7..d94a0db3 100644
--- a/base/webrtc_base.target.darwin-x86.mk
+++ b/base/webrtc_base.target.darwin-x86.mk
@@ -341,6 +341,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -356,6 +357,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/base/webrtc_base.target.darwin-x86_64.mk b/base/webrtc_base.target.darwin-x86_64.mk
index c2a8031e..15ce3e16 100644
--- a/base/webrtc_base.target.darwin-x86_64.mk
+++ b/base/webrtc_base.target.darwin-x86_64.mk
@@ -341,6 +341,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -356,6 +357,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/base/webrtc_base.target.linux-arm.mk b/base/webrtc_base.target.linux-arm.mk
index f8450e7c..47f54b05 100644
--- a/base/webrtc_base.target.linux-arm.mk
+++ b/base/webrtc_base.target.linux-arm.mk
@@ -360,6 +360,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -377,6 +378,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/base/webrtc_base.target.linux-arm64.mk b/base/webrtc_base.target.linux-arm64.mk
index 08351d89..af485336 100644
--- a/base/webrtc_base.target.linux-arm64.mk
+++ b/base/webrtc_base.target.linux-arm64.mk
@@ -329,6 +329,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -342,6 +343,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/base/webrtc_base.target.linux-mips.mk b/base/webrtc_base.target.linux-mips.mk
index 0f51b1b6..8c23419c 100644
--- a/base/webrtc_base.target.linux-mips.mk
+++ b/base/webrtc_base.target.linux-mips.mk
@@ -347,6 +347,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -362,6 +363,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/base/webrtc_base.target.linux-x86.mk b/base/webrtc_base.target.linux-x86.mk
index ebe78fc7..d94a0db3 100644
--- a/base/webrtc_base.target.linux-x86.mk
+++ b/base/webrtc_base.target.linux-x86.mk
@@ -341,6 +341,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -356,6 +357,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/base/webrtc_base.target.linux-x86_64.mk b/base/webrtc_base.target.linux-x86_64.mk
index c2a8031e..15ce3e16 100644
--- a/base/webrtc_base.target.linux-x86_64.mk
+++ b/base/webrtc_base.target.linux-x86_64.mk
@@ -341,6 +341,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -356,6 +357,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/common_audio/common_audio.target.darwin-arm.mk b/common_audio/common_audio.target.darwin-arm.mk
index efc2ae6c..6c104782 100644
--- a/common_audio/common_audio.target.darwin-arm.mk
+++ b/common_audio/common_audio.target.darwin-arm.mk
@@ -321,6 +321,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -338,6 +339,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/common_audio/common_audio.target.darwin-arm64.mk b/common_audio/common_audio.target.darwin-arm64.mk
index 5faf6dec..90ab4d78 100644
--- a/common_audio/common_audio.target.darwin-arm64.mk
+++ b/common_audio/common_audio.target.darwin-arm64.mk
@@ -290,6 +290,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -303,6 +304,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/common_audio/common_audio.target.darwin-mips.mk b/common_audio/common_audio.target.darwin-mips.mk
index 9c93fb1a..c06ef052 100644
--- a/common_audio/common_audio.target.darwin-mips.mk
+++ b/common_audio/common_audio.target.darwin-mips.mk
@@ -312,6 +312,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -327,6 +328,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/common_audio/common_audio.target.darwin-x86.mk b/common_audio/common_audio.target.darwin-x86.mk
index 79cae042..fd537afe 100644
--- a/common_audio/common_audio.target.darwin-x86.mk
+++ b/common_audio/common_audio.target.darwin-x86.mk
@@ -302,6 +302,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -317,6 +318,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/common_audio/common_audio.target.darwin-x86_64.mk b/common_audio/common_audio.target.darwin-x86_64.mk
index f19c5a3c..96c6ab5f 100644
--- a/common_audio/common_audio.target.darwin-x86_64.mk
+++ b/common_audio/common_audio.target.darwin-x86_64.mk
@@ -300,6 +300,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -315,6 +316,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/common_audio/common_audio.target.linux-arm.mk b/common_audio/common_audio.target.linux-arm.mk
index efc2ae6c..6c104782 100644
--- a/common_audio/common_audio.target.linux-arm.mk
+++ b/common_audio/common_audio.target.linux-arm.mk
@@ -321,6 +321,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -338,6 +339,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/common_audio/common_audio.target.linux-arm64.mk b/common_audio/common_audio.target.linux-arm64.mk
index 5faf6dec..90ab4d78 100644
--- a/common_audio/common_audio.target.linux-arm64.mk
+++ b/common_audio/common_audio.target.linux-arm64.mk
@@ -290,6 +290,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -303,6 +304,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/common_audio/common_audio.target.linux-mips.mk b/common_audio/common_audio.target.linux-mips.mk
index 9c93fb1a..c06ef052 100644
--- a/common_audio/common_audio.target.linux-mips.mk
+++ b/common_audio/common_audio.target.linux-mips.mk
@@ -312,6 +312,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -327,6 +328,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/common_audio/common_audio.target.linux-x86.mk b/common_audio/common_audio.target.linux-x86.mk
index 79cae042..fd537afe 100644
--- a/common_audio/common_audio.target.linux-x86.mk
+++ b/common_audio/common_audio.target.linux-x86.mk
@@ -302,6 +302,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -317,6 +318,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/common_audio/common_audio.target.linux-x86_64.mk b/common_audio/common_audio.target.linux-x86_64.mk
index f19c5a3c..96c6ab5f 100644
--- a/common_audio/common_audio.target.linux-x86_64.mk
+++ b/common_audio/common_audio.target.linux-x86_64.mk
@@ -300,6 +300,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -315,6 +316,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/common_audio/common_audio_neon.target.darwin-arm.mk b/common_audio/common_audio_neon.target.darwin-arm.mk
index 19266dd9..01d47849 100644
--- a/common_audio/common_audio_neon.target.darwin-arm.mk
+++ b/common_audio/common_audio_neon.target.darwin-arm.mk
@@ -280,6 +280,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -297,6 +298,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/common_audio/common_audio_neon.target.linux-arm.mk b/common_audio/common_audio_neon.target.linux-arm.mk
index 19266dd9..01d47849 100644
--- a/common_audio/common_audio_neon.target.linux-arm.mk
+++ b/common_audio/common_audio_neon.target.linux-arm.mk
@@ -280,6 +280,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -297,6 +298,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/common_audio/common_audio_sse2.target.darwin-x86.mk b/common_audio/common_audio_sse2.target.darwin-x86.mk
index f13f7ede..28ba5244 100644
--- a/common_audio/common_audio_sse2.target.darwin-x86.mk
+++ b/common_audio/common_audio_sse2.target.darwin-x86.mk
@@ -255,6 +255,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -270,6 +271,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/common_audio/common_audio_sse2.target.darwin-x86_64.mk b/common_audio/common_audio_sse2.target.darwin-x86_64.mk
index ecd1417b..f83d4a92 100644
--- a/common_audio/common_audio_sse2.target.darwin-x86_64.mk
+++ b/common_audio/common_audio_sse2.target.darwin-x86_64.mk
@@ -253,6 +253,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -268,6 +269,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/common_audio/common_audio_sse2.target.linux-x86.mk b/common_audio/common_audio_sse2.target.linux-x86.mk
index f13f7ede..28ba5244 100644
--- a/common_audio/common_audio_sse2.target.linux-x86.mk
+++ b/common_audio/common_audio_sse2.target.linux-x86.mk
@@ -255,6 +255,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -270,6 +271,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/common_audio/common_audio_sse2.target.linux-x86_64.mk b/common_audio/common_audio_sse2.target.linux-x86_64.mk
index ecd1417b..f83d4a92 100644
--- a/common_audio/common_audio_sse2.target.linux-x86_64.mk
+++ b/common_audio/common_audio_sse2.target.linux-x86_64.mk
@@ -253,6 +253,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -268,6 +269,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/common_video/common_video.target.darwin-arm.mk b/common_video/common_video.target.darwin-arm.mk
index 11a8c833..d42a7a09 100644
--- a/common_video/common_video.target.darwin-arm.mk
+++ b/common_video/common_video.target.darwin-arm.mk
@@ -287,6 +287,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -304,6 +305,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/common_video/common_video.target.darwin-arm64.mk b/common_video/common_video.target.darwin-arm64.mk
index fb0b7606..e2d0685e 100644
--- a/common_video/common_video.target.darwin-arm64.mk
+++ b/common_video/common_video.target.darwin-arm64.mk
@@ -256,6 +256,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -269,6 +270,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/common_video/common_video.target.darwin-mips.mk b/common_video/common_video.target.darwin-mips.mk
index 4d3f3d03..18e7044e 100644
--- a/common_video/common_video.target.darwin-mips.mk
+++ b/common_video/common_video.target.darwin-mips.mk
@@ -274,6 +274,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -289,6 +290,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/common_video/common_video.target.darwin-x86.mk b/common_video/common_video.target.darwin-x86.mk
index 8d08bb03..ff87e2a6 100644
--- a/common_video/common_video.target.darwin-x86.mk
+++ b/common_video/common_video.target.darwin-x86.mk
@@ -268,6 +268,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -283,6 +284,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/common_video/common_video.target.darwin-x86_64.mk b/common_video/common_video.target.darwin-x86_64.mk
index 9a8396f9..0120d299 100644
--- a/common_video/common_video.target.darwin-x86_64.mk
+++ b/common_video/common_video.target.darwin-x86_64.mk
@@ -266,6 +266,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -281,6 +282,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/common_video/common_video.target.linux-arm.mk b/common_video/common_video.target.linux-arm.mk
index 11a8c833..d42a7a09 100644
--- a/common_video/common_video.target.linux-arm.mk
+++ b/common_video/common_video.target.linux-arm.mk
@@ -287,6 +287,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -304,6 +305,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/common_video/common_video.target.linux-arm64.mk b/common_video/common_video.target.linux-arm64.mk
index fb0b7606..e2d0685e 100644
--- a/common_video/common_video.target.linux-arm64.mk
+++ b/common_video/common_video.target.linux-arm64.mk
@@ -256,6 +256,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -269,6 +270,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/common_video/common_video.target.linux-mips.mk b/common_video/common_video.target.linux-mips.mk
index 4d3f3d03..18e7044e 100644
--- a/common_video/common_video.target.linux-mips.mk
+++ b/common_video/common_video.target.linux-mips.mk
@@ -274,6 +274,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -289,6 +290,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/common_video/common_video.target.linux-x86.mk b/common_video/common_video.target.linux-x86.mk
index 8d08bb03..ff87e2a6 100644
--- a/common_video/common_video.target.linux-x86.mk
+++ b/common_video/common_video.target.linux-x86.mk
@@ -268,6 +268,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -283,6 +284,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/common_video/common_video.target.linux-x86_64.mk b/common_video/common_video.target.linux-x86_64.mk
index 9a8396f9..0120d299 100644
--- a/common_video/common_video.target.linux-x86_64.mk
+++ b/common_video/common_video.target.linux-x86_64.mk
@@ -266,6 +266,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -281,6 +282,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/CNG.target.darwin-arm.mk b/modules/CNG.target.darwin-arm.mk
index f1e434a9..cc4cdc63 100644
--- a/modules/CNG.target.darwin-arm.mk
+++ b/modules/CNG.target.darwin-arm.mk
@@ -289,6 +289,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -306,6 +307,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/CNG.target.darwin-arm64.mk b/modules/CNG.target.darwin-arm64.mk
index cacd5d46..44e709f6 100644
--- a/modules/CNG.target.darwin-arm64.mk
+++ b/modules/CNG.target.darwin-arm64.mk
@@ -258,6 +258,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -271,6 +272,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/CNG.target.darwin-mips.mk b/modules/CNG.target.darwin-mips.mk
index 3867b9ab..9684599d 100644
--- a/modules/CNG.target.darwin-mips.mk
+++ b/modules/CNG.target.darwin-mips.mk
@@ -278,6 +278,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -293,6 +294,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/CNG.target.darwin-x86.mk b/modules/CNG.target.darwin-x86.mk
index e8c3c7c6..febdbb77 100644
--- a/modules/CNG.target.darwin-x86.mk
+++ b/modules/CNG.target.darwin-x86.mk
@@ -270,6 +270,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -285,6 +286,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/CNG.target.darwin-x86_64.mk b/modules/CNG.target.darwin-x86_64.mk
index 1e27aa80..754ef88f 100644
--- a/modules/CNG.target.darwin-x86_64.mk
+++ b/modules/CNG.target.darwin-x86_64.mk
@@ -268,6 +268,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -283,6 +284,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/CNG.target.linux-arm.mk b/modules/CNG.target.linux-arm.mk
index f1e434a9..cc4cdc63 100644
--- a/modules/CNG.target.linux-arm.mk
+++ b/modules/CNG.target.linux-arm.mk
@@ -289,6 +289,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -306,6 +307,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/CNG.target.linux-arm64.mk b/modules/CNG.target.linux-arm64.mk
index cacd5d46..44e709f6 100644
--- a/modules/CNG.target.linux-arm64.mk
+++ b/modules/CNG.target.linux-arm64.mk
@@ -258,6 +258,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -271,6 +272,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/CNG.target.linux-mips.mk b/modules/CNG.target.linux-mips.mk
index 3867b9ab..9684599d 100644
--- a/modules/CNG.target.linux-mips.mk
+++ b/modules/CNG.target.linux-mips.mk
@@ -278,6 +278,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -293,6 +294,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/CNG.target.linux-x86.mk b/modules/CNG.target.linux-x86.mk
index e8c3c7c6..febdbb77 100644
--- a/modules/CNG.target.linux-x86.mk
+++ b/modules/CNG.target.linux-x86.mk
@@ -270,6 +270,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -285,6 +286,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/CNG.target.linux-x86_64.mk b/modules/CNG.target.linux-x86_64.mk
index 1e27aa80..754ef88f 100644
--- a/modules/CNG.target.linux-x86_64.mk
+++ b/modules/CNG.target.linux-x86_64.mk
@@ -268,6 +268,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -283,6 +284,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/G711.target.darwin-arm.mk b/modules/G711.target.darwin-arm.mk
index 207be4f6..8bd6569c 100644
--- a/modules/G711.target.darwin-arm.mk
+++ b/modules/G711.target.darwin-arm.mk
@@ -283,6 +283,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -300,6 +301,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/G711.target.darwin-arm64.mk b/modules/G711.target.darwin-arm64.mk
index 380146be..55d15d00 100644
--- a/modules/G711.target.darwin-arm64.mk
+++ b/modules/G711.target.darwin-arm64.mk
@@ -252,6 +252,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -265,6 +266,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/G711.target.darwin-mips.mk b/modules/G711.target.darwin-mips.mk
index b4ab8803..65eecff3 100644
--- a/modules/G711.target.darwin-mips.mk
+++ b/modules/G711.target.darwin-mips.mk
@@ -272,6 +272,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -287,6 +288,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/G711.target.darwin-x86.mk b/modules/G711.target.darwin-x86.mk
index 6ded9a08..f7da32d4 100644
--- a/modules/G711.target.darwin-x86.mk
+++ b/modules/G711.target.darwin-x86.mk
@@ -264,6 +264,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -279,6 +280,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/G711.target.darwin-x86_64.mk b/modules/G711.target.darwin-x86_64.mk
index 64352f13..9e66980a 100644
--- a/modules/G711.target.darwin-x86_64.mk
+++ b/modules/G711.target.darwin-x86_64.mk
@@ -262,6 +262,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -277,6 +278,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/G711.target.linux-arm.mk b/modules/G711.target.linux-arm.mk
index 207be4f6..8bd6569c 100644
--- a/modules/G711.target.linux-arm.mk
+++ b/modules/G711.target.linux-arm.mk
@@ -283,6 +283,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -300,6 +301,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/G711.target.linux-arm64.mk b/modules/G711.target.linux-arm64.mk
index 380146be..55d15d00 100644
--- a/modules/G711.target.linux-arm64.mk
+++ b/modules/G711.target.linux-arm64.mk
@@ -252,6 +252,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -265,6 +266,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/G711.target.linux-mips.mk b/modules/G711.target.linux-mips.mk
index b4ab8803..65eecff3 100644
--- a/modules/G711.target.linux-mips.mk
+++ b/modules/G711.target.linux-mips.mk
@@ -272,6 +272,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -287,6 +288,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/G711.target.linux-x86.mk b/modules/G711.target.linux-x86.mk
index 6ded9a08..f7da32d4 100644
--- a/modules/G711.target.linux-x86.mk
+++ b/modules/G711.target.linux-x86.mk
@@ -264,6 +264,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -279,6 +280,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/G711.target.linux-x86_64.mk b/modules/G711.target.linux-x86_64.mk
index 64352f13..9e66980a 100644
--- a/modules/G711.target.linux-x86_64.mk
+++ b/modules/G711.target.linux-x86_64.mk
@@ -262,6 +262,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -277,6 +278,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/G722.target.darwin-arm.mk b/modules/G722.target.darwin-arm.mk
index f1ac5a5d..ddb0a412 100644
--- a/modules/G722.target.darwin-arm.mk
+++ b/modules/G722.target.darwin-arm.mk
@@ -284,6 +284,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -301,6 +302,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/G722.target.darwin-arm64.mk b/modules/G722.target.darwin-arm64.mk
index dc1466f5..ae581e8e 100644
--- a/modules/G722.target.darwin-arm64.mk
+++ b/modules/G722.target.darwin-arm64.mk
@@ -253,6 +253,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -266,6 +267,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/G722.target.darwin-mips.mk b/modules/G722.target.darwin-mips.mk
index 2fa13848..f3b49391 100644
--- a/modules/G722.target.darwin-mips.mk
+++ b/modules/G722.target.darwin-mips.mk
@@ -273,6 +273,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -288,6 +289,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/G722.target.darwin-x86.mk b/modules/G722.target.darwin-x86.mk
index ba67e5b4..3f4c3778 100644
--- a/modules/G722.target.darwin-x86.mk
+++ b/modules/G722.target.darwin-x86.mk
@@ -265,6 +265,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -280,6 +281,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/G722.target.darwin-x86_64.mk b/modules/G722.target.darwin-x86_64.mk
index 27089f15..d7f3f907 100644
--- a/modules/G722.target.darwin-x86_64.mk
+++ b/modules/G722.target.darwin-x86_64.mk
@@ -263,6 +263,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -278,6 +279,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/G722.target.linux-arm.mk b/modules/G722.target.linux-arm.mk
index f1ac5a5d..ddb0a412 100644
--- a/modules/G722.target.linux-arm.mk
+++ b/modules/G722.target.linux-arm.mk
@@ -284,6 +284,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -301,6 +302,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/G722.target.linux-arm64.mk b/modules/G722.target.linux-arm64.mk
index dc1466f5..ae581e8e 100644
--- a/modules/G722.target.linux-arm64.mk
+++ b/modules/G722.target.linux-arm64.mk
@@ -253,6 +253,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -266,6 +267,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/G722.target.linux-mips.mk b/modules/G722.target.linux-mips.mk
index 2fa13848..f3b49391 100644
--- a/modules/G722.target.linux-mips.mk
+++ b/modules/G722.target.linux-mips.mk
@@ -273,6 +273,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -288,6 +289,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/G722.target.linux-x86.mk b/modules/G722.target.linux-x86.mk
index ba67e5b4..3f4c3778 100644
--- a/modules/G722.target.linux-x86.mk
+++ b/modules/G722.target.linux-x86.mk
@@ -265,6 +265,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -280,6 +281,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/G722.target.linux-x86_64.mk b/modules/G722.target.linux-x86_64.mk
index 27089f15..d7f3f907 100644
--- a/modules/G722.target.linux-x86_64.mk
+++ b/modules/G722.target.linux-x86_64.mk
@@ -263,6 +263,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -278,6 +279,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/NetEq4.target.darwin-arm.mk b/modules/NetEq4.target.darwin-arm.mk
index 5eae3558..47d15e8f 100644
--- a/modules/NetEq4.target.darwin-arm.mk
+++ b/modules/NetEq4.target.darwin-arm.mk
@@ -343,6 +343,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -360,6 +361,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/NetEq4.target.darwin-arm64.mk b/modules/NetEq4.target.darwin-arm64.mk
index 0ee932e8..5904e670 100644
--- a/modules/NetEq4.target.darwin-arm64.mk
+++ b/modules/NetEq4.target.darwin-arm64.mk
@@ -312,6 +312,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -325,6 +326,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/NetEq4.target.darwin-mips.mk b/modules/NetEq4.target.darwin-mips.mk
index fb3466ae..a03c99c0 100644
--- a/modules/NetEq4.target.darwin-mips.mk
+++ b/modules/NetEq4.target.darwin-mips.mk
@@ -332,6 +332,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -347,6 +348,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/NetEq4.target.darwin-x86.mk b/modules/NetEq4.target.darwin-x86.mk
index 4850eb30..5a73327a 100644
--- a/modules/NetEq4.target.darwin-x86.mk
+++ b/modules/NetEq4.target.darwin-x86.mk
@@ -324,6 +324,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -339,6 +340,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/NetEq4.target.darwin-x86_64.mk b/modules/NetEq4.target.darwin-x86_64.mk
index 6b039131..f74127a9 100644
--- a/modules/NetEq4.target.darwin-x86_64.mk
+++ b/modules/NetEq4.target.darwin-x86_64.mk
@@ -322,6 +322,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -337,6 +338,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/NetEq4.target.linux-arm.mk b/modules/NetEq4.target.linux-arm.mk
index 5eae3558..47d15e8f 100644
--- a/modules/NetEq4.target.linux-arm.mk
+++ b/modules/NetEq4.target.linux-arm.mk
@@ -343,6 +343,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -360,6 +361,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/NetEq4.target.linux-arm64.mk b/modules/NetEq4.target.linux-arm64.mk
index 0ee932e8..5904e670 100644
--- a/modules/NetEq4.target.linux-arm64.mk
+++ b/modules/NetEq4.target.linux-arm64.mk
@@ -312,6 +312,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -325,6 +326,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/NetEq4.target.linux-mips.mk b/modules/NetEq4.target.linux-mips.mk
index fb3466ae..a03c99c0 100644
--- a/modules/NetEq4.target.linux-mips.mk
+++ b/modules/NetEq4.target.linux-mips.mk
@@ -332,6 +332,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -347,6 +348,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/NetEq4.target.linux-x86.mk b/modules/NetEq4.target.linux-x86.mk
index 4850eb30..5a73327a 100644
--- a/modules/NetEq4.target.linux-x86.mk
+++ b/modules/NetEq4.target.linux-x86.mk
@@ -324,6 +324,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -339,6 +340,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/NetEq4.target.linux-x86_64.mk b/modules/NetEq4.target.linux-x86_64.mk
index 6b039131..f74127a9 100644
--- a/modules/NetEq4.target.linux-x86_64.mk
+++ b/modules/NetEq4.target.linux-x86_64.mk
@@ -322,6 +322,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -337,6 +338,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/PCM16B.target.darwin-arm.mk b/modules/PCM16B.target.darwin-arm.mk
index edc9fed0..2a2a35ac 100644
--- a/modules/PCM16B.target.darwin-arm.mk
+++ b/modules/PCM16B.target.darwin-arm.mk
@@ -282,6 +282,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -299,6 +300,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/PCM16B.target.darwin-arm64.mk b/modules/PCM16B.target.darwin-arm64.mk
index ce33a5ee..20c8c878 100644
--- a/modules/PCM16B.target.darwin-arm64.mk
+++ b/modules/PCM16B.target.darwin-arm64.mk
@@ -251,6 +251,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -264,6 +265,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/PCM16B.target.darwin-mips.mk b/modules/PCM16B.target.darwin-mips.mk
index 7d2f0aff..1c7909e5 100644
--- a/modules/PCM16B.target.darwin-mips.mk
+++ b/modules/PCM16B.target.darwin-mips.mk
@@ -271,6 +271,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -286,6 +287,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/PCM16B.target.darwin-x86.mk b/modules/PCM16B.target.darwin-x86.mk
index 1f388f09..a3d33b22 100644
--- a/modules/PCM16B.target.darwin-x86.mk
+++ b/modules/PCM16B.target.darwin-x86.mk
@@ -263,6 +263,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -278,6 +279,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/PCM16B.target.darwin-x86_64.mk b/modules/PCM16B.target.darwin-x86_64.mk
index 428dc8b2..22d65267 100644
--- a/modules/PCM16B.target.darwin-x86_64.mk
+++ b/modules/PCM16B.target.darwin-x86_64.mk
@@ -261,6 +261,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -276,6 +277,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/PCM16B.target.linux-arm.mk b/modules/PCM16B.target.linux-arm.mk
index edc9fed0..2a2a35ac 100644
--- a/modules/PCM16B.target.linux-arm.mk
+++ b/modules/PCM16B.target.linux-arm.mk
@@ -282,6 +282,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -299,6 +300,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/PCM16B.target.linux-arm64.mk b/modules/PCM16B.target.linux-arm64.mk
index ce33a5ee..20c8c878 100644
--- a/modules/PCM16B.target.linux-arm64.mk
+++ b/modules/PCM16B.target.linux-arm64.mk
@@ -251,6 +251,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -264,6 +265,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/PCM16B.target.linux-mips.mk b/modules/PCM16B.target.linux-mips.mk
index 7d2f0aff..1c7909e5 100644
--- a/modules/PCM16B.target.linux-mips.mk
+++ b/modules/PCM16B.target.linux-mips.mk
@@ -271,6 +271,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -286,6 +287,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/PCM16B.target.linux-x86.mk b/modules/PCM16B.target.linux-x86.mk
index 1f388f09..a3d33b22 100644
--- a/modules/PCM16B.target.linux-x86.mk
+++ b/modules/PCM16B.target.linux-x86.mk
@@ -263,6 +263,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -278,6 +279,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/PCM16B.target.linux-x86_64.mk b/modules/PCM16B.target.linux-x86_64.mk
index 428dc8b2..22d65267 100644
--- a/modules/PCM16B.target.linux-x86_64.mk
+++ b/modules/PCM16B.target.linux-x86_64.mk
@@ -261,6 +261,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -276,6 +277,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audio_coding_module.target.darwin-arm.mk b/modules/audio_coding_module.target.darwin-arm.mk
index 6a21edf4..c3d24ca3 100644
--- a/modules/audio_coding_module.target.darwin-arm.mk
+++ b/modules/audio_coding_module.target.darwin-arm.mk
@@ -342,6 +342,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -359,6 +360,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/audio_coding_module.target.darwin-arm64.mk b/modules/audio_coding_module.target.darwin-arm64.mk
index 3c3343f6..341965c8 100644
--- a/modules/audio_coding_module.target.darwin-arm64.mk
+++ b/modules/audio_coding_module.target.darwin-arm64.mk
@@ -311,6 +311,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -324,6 +325,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audio_coding_module.target.darwin-mips.mk b/modules/audio_coding_module.target.darwin-mips.mk
index bc53980e..6ab114bf 100644
--- a/modules/audio_coding_module.target.darwin-mips.mk
+++ b/modules/audio_coding_module.target.darwin-mips.mk
@@ -331,6 +331,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -346,6 +347,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audio_coding_module.target.darwin-x86.mk b/modules/audio_coding_module.target.darwin-x86.mk
index 8e9eb2ef..a6fa3ca1 100644
--- a/modules/audio_coding_module.target.darwin-x86.mk
+++ b/modules/audio_coding_module.target.darwin-x86.mk
@@ -323,6 +323,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -338,6 +339,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audio_coding_module.target.darwin-x86_64.mk b/modules/audio_coding_module.target.darwin-x86_64.mk
index 580c1c0c..f38aefea 100644
--- a/modules/audio_coding_module.target.darwin-x86_64.mk
+++ b/modules/audio_coding_module.target.darwin-x86_64.mk
@@ -321,6 +321,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -336,6 +337,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audio_coding_module.target.linux-arm.mk b/modules/audio_coding_module.target.linux-arm.mk
index 6a21edf4..c3d24ca3 100644
--- a/modules/audio_coding_module.target.linux-arm.mk
+++ b/modules/audio_coding_module.target.linux-arm.mk
@@ -342,6 +342,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -359,6 +360,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/audio_coding_module.target.linux-arm64.mk b/modules/audio_coding_module.target.linux-arm64.mk
index 3c3343f6..341965c8 100644
--- a/modules/audio_coding_module.target.linux-arm64.mk
+++ b/modules/audio_coding_module.target.linux-arm64.mk
@@ -311,6 +311,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -324,6 +325,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audio_coding_module.target.linux-mips.mk b/modules/audio_coding_module.target.linux-mips.mk
index bc53980e..6ab114bf 100644
--- a/modules/audio_coding_module.target.linux-mips.mk
+++ b/modules/audio_coding_module.target.linux-mips.mk
@@ -331,6 +331,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -346,6 +347,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audio_coding_module.target.linux-x86.mk b/modules/audio_coding_module.target.linux-x86.mk
index 8e9eb2ef..a6fa3ca1 100644
--- a/modules/audio_coding_module.target.linux-x86.mk
+++ b/modules/audio_coding_module.target.linux-x86.mk
@@ -323,6 +323,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -338,6 +339,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audio_coding_module.target.linux-x86_64.mk b/modules/audio_coding_module.target.linux-x86_64.mk
index 580c1c0c..f38aefea 100644
--- a/modules/audio_coding_module.target.linux-x86_64.mk
+++ b/modules/audio_coding_module.target.linux-x86_64.mk
@@ -321,6 +321,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -336,6 +337,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audio_conference_mixer.target.darwin-arm.mk b/modules/audio_conference_mixer.target.darwin-arm.mk
index 5c6aeaa0..a9818e9b 100644
--- a/modules/audio_conference_mixer.target.darwin-arm.mk
+++ b/modules/audio_conference_mixer.target.darwin-arm.mk
@@ -288,6 +288,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -305,6 +306,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/audio_conference_mixer.target.darwin-arm64.mk b/modules/audio_conference_mixer.target.darwin-arm64.mk
index a765426d..22209dde 100644
--- a/modules/audio_conference_mixer.target.darwin-arm64.mk
+++ b/modules/audio_conference_mixer.target.darwin-arm64.mk
@@ -257,6 +257,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -270,6 +271,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audio_conference_mixer.target.darwin-mips.mk b/modules/audio_conference_mixer.target.darwin-mips.mk
index 1510eba5..f99be436 100644
--- a/modules/audio_conference_mixer.target.darwin-mips.mk
+++ b/modules/audio_conference_mixer.target.darwin-mips.mk
@@ -277,6 +277,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -292,6 +293,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audio_conference_mixer.target.darwin-x86.mk b/modules/audio_conference_mixer.target.darwin-x86.mk
index 4a71999d..ed702a48 100644
--- a/modules/audio_conference_mixer.target.darwin-x86.mk
+++ b/modules/audio_conference_mixer.target.darwin-x86.mk
@@ -269,6 +269,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -284,6 +285,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audio_conference_mixer.target.darwin-x86_64.mk b/modules/audio_conference_mixer.target.darwin-x86_64.mk
index 26c21810..bdb3c1aa 100644
--- a/modules/audio_conference_mixer.target.darwin-x86_64.mk
+++ b/modules/audio_conference_mixer.target.darwin-x86_64.mk
@@ -267,6 +267,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -282,6 +283,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audio_conference_mixer.target.linux-arm.mk b/modules/audio_conference_mixer.target.linux-arm.mk
index 5c6aeaa0..a9818e9b 100644
--- a/modules/audio_conference_mixer.target.linux-arm.mk
+++ b/modules/audio_conference_mixer.target.linux-arm.mk
@@ -288,6 +288,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -305,6 +306,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/audio_conference_mixer.target.linux-arm64.mk b/modules/audio_conference_mixer.target.linux-arm64.mk
index a765426d..22209dde 100644
--- a/modules/audio_conference_mixer.target.linux-arm64.mk
+++ b/modules/audio_conference_mixer.target.linux-arm64.mk
@@ -257,6 +257,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -270,6 +271,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audio_conference_mixer.target.linux-mips.mk b/modules/audio_conference_mixer.target.linux-mips.mk
index 1510eba5..f99be436 100644
--- a/modules/audio_conference_mixer.target.linux-mips.mk
+++ b/modules/audio_conference_mixer.target.linux-mips.mk
@@ -277,6 +277,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -292,6 +293,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audio_conference_mixer.target.linux-x86.mk b/modules/audio_conference_mixer.target.linux-x86.mk
index 4a71999d..ed702a48 100644
--- a/modules/audio_conference_mixer.target.linux-x86.mk
+++ b/modules/audio_conference_mixer.target.linux-x86.mk
@@ -269,6 +269,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -284,6 +285,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audio_conference_mixer.target.linux-x86_64.mk b/modules/audio_conference_mixer.target.linux-x86_64.mk
index 26c21810..bdb3c1aa 100644
--- a/modules/audio_conference_mixer.target.linux-x86_64.mk
+++ b/modules/audio_conference_mixer.target.linux-x86_64.mk
@@ -267,6 +267,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -282,6 +283,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audio_device.target.darwin-arm.mk b/modules/audio_device.target.darwin-arm.mk
index 8e43beed..220ff854 100644
--- a/modules/audio_device.target.darwin-arm.mk
+++ b/modules/audio_device.target.darwin-arm.mk
@@ -304,6 +304,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -321,6 +322,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/audio_device.target.darwin-arm64.mk b/modules/audio_device.target.darwin-arm64.mk
index fa57973a..2927324e 100644
--- a/modules/audio_device.target.darwin-arm64.mk
+++ b/modules/audio_device.target.darwin-arm64.mk
@@ -273,6 +273,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -286,6 +287,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audio_device.target.darwin-mips.mk b/modules/audio_device.target.darwin-mips.mk
index 99be084b..c8b8a06b 100644
--- a/modules/audio_device.target.darwin-mips.mk
+++ b/modules/audio_device.target.darwin-mips.mk
@@ -293,6 +293,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -308,6 +309,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audio_device.target.darwin-x86.mk b/modules/audio_device.target.darwin-x86.mk
index 0de5f4f0..7ac50c78 100644
--- a/modules/audio_device.target.darwin-x86.mk
+++ b/modules/audio_device.target.darwin-x86.mk
@@ -285,6 +285,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -300,6 +301,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audio_device.target.darwin-x86_64.mk b/modules/audio_device.target.darwin-x86_64.mk
index 5b60b14e..a91eb89d 100644
--- a/modules/audio_device.target.darwin-x86_64.mk
+++ b/modules/audio_device.target.darwin-x86_64.mk
@@ -283,6 +283,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -298,6 +299,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audio_device.target.linux-arm.mk b/modules/audio_device.target.linux-arm.mk
index 8e43beed..220ff854 100644
--- a/modules/audio_device.target.linux-arm.mk
+++ b/modules/audio_device.target.linux-arm.mk
@@ -304,6 +304,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -321,6 +322,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/audio_device.target.linux-arm64.mk b/modules/audio_device.target.linux-arm64.mk
index fa57973a..2927324e 100644
--- a/modules/audio_device.target.linux-arm64.mk
+++ b/modules/audio_device.target.linux-arm64.mk
@@ -273,6 +273,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -286,6 +287,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audio_device.target.linux-mips.mk b/modules/audio_device.target.linux-mips.mk
index 99be084b..c8b8a06b 100644
--- a/modules/audio_device.target.linux-mips.mk
+++ b/modules/audio_device.target.linux-mips.mk
@@ -293,6 +293,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -308,6 +309,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audio_device.target.linux-x86.mk b/modules/audio_device.target.linux-x86.mk
index 0de5f4f0..7ac50c78 100644
--- a/modules/audio_device.target.linux-x86.mk
+++ b/modules/audio_device.target.linux-x86.mk
@@ -285,6 +285,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -300,6 +301,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audio_device.target.linux-x86_64.mk b/modules/audio_device.target.linux-x86_64.mk
index 5b60b14e..a91eb89d 100644
--- a/modules/audio_device.target.linux-x86_64.mk
+++ b/modules/audio_device.target.linux-x86_64.mk
@@ -283,6 +283,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -298,6 +299,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audio_processing.target.darwin-arm.mk b/modules/audio_processing.target.darwin-arm.mk
index 11e0d9a6..ed6d4d4e 100644
--- a/modules/audio_processing.target.darwin-arm.mk
+++ b/modules/audio_processing.target.darwin-arm.mk
@@ -331,6 +331,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -348,6 +349,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/audio_processing.target.darwin-arm64.mk b/modules/audio_processing.target.darwin-arm64.mk
index d4e5e620..144e06e1 100644
--- a/modules/audio_processing.target.darwin-arm64.mk
+++ b/modules/audio_processing.target.darwin-arm64.mk
@@ -299,6 +299,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -312,6 +313,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audio_processing.target.darwin-mips.mk b/modules/audio_processing.target.darwin-mips.mk
index b0442e82..a9f2b593 100644
--- a/modules/audio_processing.target.darwin-mips.mk
+++ b/modules/audio_processing.target.darwin-mips.mk
@@ -321,6 +321,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -336,6 +337,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audio_processing.target.darwin-x86.mk b/modules/audio_processing.target.darwin-x86.mk
index 1dbecf5b..659aaed4 100644
--- a/modules/audio_processing.target.darwin-x86.mk
+++ b/modules/audio_processing.target.darwin-x86.mk
@@ -311,6 +311,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -326,6 +327,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audio_processing.target.darwin-x86_64.mk b/modules/audio_processing.target.darwin-x86_64.mk
index f0d104b0..c4725056 100644
--- a/modules/audio_processing.target.darwin-x86_64.mk
+++ b/modules/audio_processing.target.darwin-x86_64.mk
@@ -309,6 +309,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -324,6 +325,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audio_processing.target.linux-arm.mk b/modules/audio_processing.target.linux-arm.mk
index 11e0d9a6..ed6d4d4e 100644
--- a/modules/audio_processing.target.linux-arm.mk
+++ b/modules/audio_processing.target.linux-arm.mk
@@ -331,6 +331,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -348,6 +349,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/audio_processing.target.linux-arm64.mk b/modules/audio_processing.target.linux-arm64.mk
index d4e5e620..144e06e1 100644
--- a/modules/audio_processing.target.linux-arm64.mk
+++ b/modules/audio_processing.target.linux-arm64.mk
@@ -299,6 +299,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -312,6 +313,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audio_processing.target.linux-mips.mk b/modules/audio_processing.target.linux-mips.mk
index b0442e82..a9f2b593 100644
--- a/modules/audio_processing.target.linux-mips.mk
+++ b/modules/audio_processing.target.linux-mips.mk
@@ -321,6 +321,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -336,6 +337,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audio_processing.target.linux-x86.mk b/modules/audio_processing.target.linux-x86.mk
index 1dbecf5b..659aaed4 100644
--- a/modules/audio_processing.target.linux-x86.mk
+++ b/modules/audio_processing.target.linux-x86.mk
@@ -311,6 +311,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -326,6 +327,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audio_processing.target.linux-x86_64.mk b/modules/audio_processing.target.linux-x86_64.mk
index f0d104b0..c4725056 100644
--- a/modules/audio_processing.target.linux-x86_64.mk
+++ b/modules/audio_processing.target.linux-x86_64.mk
@@ -309,6 +309,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -324,6 +325,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audio_processing/lib_core_neon_offsets.target.darwin-arm.mk b/modules/audio_processing/lib_core_neon_offsets.target.darwin-arm.mk
index 44f5d213..ec44bcfe 100644
--- a/modules/audio_processing/lib_core_neon_offsets.target.darwin-arm.mk
+++ b/modules/audio_processing/lib_core_neon_offsets.target.darwin-arm.mk
@@ -271,6 +271,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -288,6 +289,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/audio_processing/lib_core_neon_offsets.target.linux-arm.mk b/modules/audio_processing/lib_core_neon_offsets.target.linux-arm.mk
index 44f5d213..ec44bcfe 100644
--- a/modules/audio_processing/lib_core_neon_offsets.target.linux-arm.mk
+++ b/modules/audio_processing/lib_core_neon_offsets.target.linux-arm.mk
@@ -271,6 +271,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -288,6 +289,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/audio_processing_neon.target.darwin-arm.mk b/modules/audio_processing_neon.target.darwin-arm.mk
index 91466733..562fd9c6 100644
--- a/modules/audio_processing_neon.target.darwin-arm.mk
+++ b/modules/audio_processing_neon.target.darwin-arm.mk
@@ -294,6 +294,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -311,6 +312,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/audio_processing_neon.target.linux-arm.mk b/modules/audio_processing_neon.target.linux-arm.mk
index 91466733..562fd9c6 100644
--- a/modules/audio_processing_neon.target.linux-arm.mk
+++ b/modules/audio_processing_neon.target.linux-arm.mk
@@ -294,6 +294,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -311,6 +312,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/audio_processing_sse2.target.darwin-x86.mk b/modules/audio_processing_sse2.target.darwin-x86.mk
index 4711813d..166a4ba4 100644
--- a/modules/audio_processing_sse2.target.darwin-x86.mk
+++ b/modules/audio_processing_sse2.target.darwin-x86.mk
@@ -262,6 +262,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -277,6 +278,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audio_processing_sse2.target.darwin-x86_64.mk b/modules/audio_processing_sse2.target.darwin-x86_64.mk
index f3520a03..dbf0089c 100644
--- a/modules/audio_processing_sse2.target.darwin-x86_64.mk
+++ b/modules/audio_processing_sse2.target.darwin-x86_64.mk
@@ -260,6 +260,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -275,6 +276,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audio_processing_sse2.target.linux-x86.mk b/modules/audio_processing_sse2.target.linux-x86.mk
index 4711813d..166a4ba4 100644
--- a/modules/audio_processing_sse2.target.linux-x86.mk
+++ b/modules/audio_processing_sse2.target.linux-x86.mk
@@ -262,6 +262,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -277,6 +278,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audio_processing_sse2.target.linux-x86_64.mk b/modules/audio_processing_sse2.target.linux-x86_64.mk
index f3520a03..dbf0089c 100644
--- a/modules/audio_processing_sse2.target.linux-x86_64.mk
+++ b/modules/audio_processing_sse2.target.linux-x86_64.mk
@@ -260,6 +260,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -275,6 +276,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audioproc_debug_proto.target.darwin-arm.mk b/modules/audioproc_debug_proto.target.darwin-arm.mk
index 1c8331f4..71e2c094 100644
--- a/modules/audioproc_debug_proto.target.darwin-arm.mk
+++ b/modules/audioproc_debug_proto.target.darwin-arm.mk
@@ -315,6 +315,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -332,6 +333,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/audioproc_debug_proto.target.darwin-arm64.mk b/modules/audioproc_debug_proto.target.darwin-arm64.mk
index f8b0d47e..e9562b80 100644
--- a/modules/audioproc_debug_proto.target.darwin-arm64.mk
+++ b/modules/audioproc_debug_proto.target.darwin-arm64.mk
@@ -284,6 +284,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -297,6 +298,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audioproc_debug_proto.target.darwin-mips.mk b/modules/audioproc_debug_proto.target.darwin-mips.mk
index c12afd4e..879632e3 100644
--- a/modules/audioproc_debug_proto.target.darwin-mips.mk
+++ b/modules/audioproc_debug_proto.target.darwin-mips.mk
@@ -304,6 +304,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -319,6 +320,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audioproc_debug_proto.target.darwin-x86.mk b/modules/audioproc_debug_proto.target.darwin-x86.mk
index 7adefdf2..1401363f 100644
--- a/modules/audioproc_debug_proto.target.darwin-x86.mk
+++ b/modules/audioproc_debug_proto.target.darwin-x86.mk
@@ -296,6 +296,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -311,6 +312,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audioproc_debug_proto.target.darwin-x86_64.mk b/modules/audioproc_debug_proto.target.darwin-x86_64.mk
index 8afd37cf..f0172b60 100644
--- a/modules/audioproc_debug_proto.target.darwin-x86_64.mk
+++ b/modules/audioproc_debug_proto.target.darwin-x86_64.mk
@@ -294,6 +294,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -309,6 +310,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audioproc_debug_proto.target.linux-arm.mk b/modules/audioproc_debug_proto.target.linux-arm.mk
index 1c8331f4..71e2c094 100644
--- a/modules/audioproc_debug_proto.target.linux-arm.mk
+++ b/modules/audioproc_debug_proto.target.linux-arm.mk
@@ -315,6 +315,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -332,6 +333,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/audioproc_debug_proto.target.linux-arm64.mk b/modules/audioproc_debug_proto.target.linux-arm64.mk
index f8b0d47e..e9562b80 100644
--- a/modules/audioproc_debug_proto.target.linux-arm64.mk
+++ b/modules/audioproc_debug_proto.target.linux-arm64.mk
@@ -284,6 +284,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -297,6 +298,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audioproc_debug_proto.target.linux-mips.mk b/modules/audioproc_debug_proto.target.linux-mips.mk
index c12afd4e..879632e3 100644
--- a/modules/audioproc_debug_proto.target.linux-mips.mk
+++ b/modules/audioproc_debug_proto.target.linux-mips.mk
@@ -304,6 +304,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -319,6 +320,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audioproc_debug_proto.target.linux-x86.mk b/modules/audioproc_debug_proto.target.linux-x86.mk
index 7adefdf2..1401363f 100644
--- a/modules/audioproc_debug_proto.target.linux-x86.mk
+++ b/modules/audioproc_debug_proto.target.linux-x86.mk
@@ -296,6 +296,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -311,6 +312,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/audioproc_debug_proto.target.linux-x86_64.mk b/modules/audioproc_debug_proto.target.linux-x86_64.mk
index 8afd37cf..f0172b60 100644
--- a/modules/audioproc_debug_proto.target.linux-x86_64.mk
+++ b/modules/audioproc_debug_proto.target.linux-x86_64.mk
@@ -294,6 +294,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -309,6 +310,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/bitrate_controller.target.darwin-arm.mk b/modules/bitrate_controller.target.darwin-arm.mk
index 6bdce0fa..883100d0 100644
--- a/modules/bitrate_controller.target.darwin-arm.mk
+++ b/modules/bitrate_controller.target.darwin-arm.mk
@@ -282,6 +282,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -299,6 +300,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/bitrate_controller.target.darwin-arm64.mk b/modules/bitrate_controller.target.darwin-arm64.mk
index 7cb57896..b2e90e49 100644
--- a/modules/bitrate_controller.target.darwin-arm64.mk
+++ b/modules/bitrate_controller.target.darwin-arm64.mk
@@ -251,6 +251,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -264,6 +265,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/bitrate_controller.target.darwin-mips.mk b/modules/bitrate_controller.target.darwin-mips.mk
index 2a992191..f127259c 100644
--- a/modules/bitrate_controller.target.darwin-mips.mk
+++ b/modules/bitrate_controller.target.darwin-mips.mk
@@ -271,6 +271,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -286,6 +287,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/bitrate_controller.target.darwin-x86.mk b/modules/bitrate_controller.target.darwin-x86.mk
index 7da44ad9..76edd710 100644
--- a/modules/bitrate_controller.target.darwin-x86.mk
+++ b/modules/bitrate_controller.target.darwin-x86.mk
@@ -263,6 +263,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -278,6 +279,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/bitrate_controller.target.darwin-x86_64.mk b/modules/bitrate_controller.target.darwin-x86_64.mk
index 0155f318..853136c6 100644
--- a/modules/bitrate_controller.target.darwin-x86_64.mk
+++ b/modules/bitrate_controller.target.darwin-x86_64.mk
@@ -261,6 +261,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -276,6 +277,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/bitrate_controller.target.linux-arm.mk b/modules/bitrate_controller.target.linux-arm.mk
index 6bdce0fa..883100d0 100644
--- a/modules/bitrate_controller.target.linux-arm.mk
+++ b/modules/bitrate_controller.target.linux-arm.mk
@@ -282,6 +282,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -299,6 +300,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/bitrate_controller.target.linux-arm64.mk b/modules/bitrate_controller.target.linux-arm64.mk
index 7cb57896..b2e90e49 100644
--- a/modules/bitrate_controller.target.linux-arm64.mk
+++ b/modules/bitrate_controller.target.linux-arm64.mk
@@ -251,6 +251,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -264,6 +265,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/bitrate_controller.target.linux-mips.mk b/modules/bitrate_controller.target.linux-mips.mk
index 2a992191..f127259c 100644
--- a/modules/bitrate_controller.target.linux-mips.mk
+++ b/modules/bitrate_controller.target.linux-mips.mk
@@ -271,6 +271,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -286,6 +287,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/bitrate_controller.target.linux-x86.mk b/modules/bitrate_controller.target.linux-x86.mk
index 7da44ad9..76edd710 100644
--- a/modules/bitrate_controller.target.linux-x86.mk
+++ b/modules/bitrate_controller.target.linux-x86.mk
@@ -263,6 +263,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -278,6 +279,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/bitrate_controller.target.linux-x86_64.mk b/modules/bitrate_controller.target.linux-x86_64.mk
index 0155f318..853136c6 100644
--- a/modules/bitrate_controller.target.linux-x86_64.mk
+++ b/modules/bitrate_controller.target.linux-x86_64.mk
@@ -261,6 +261,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -276,6 +277,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/iLBC.target.darwin-arm.mk b/modules/iLBC.target.darwin-arm.mk
index cead9427..dc7c781e 100644
--- a/modules/iLBC.target.darwin-arm.mk
+++ b/modules/iLBC.target.darwin-arm.mk
@@ -356,6 +356,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -373,6 +374,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/iLBC.target.darwin-arm64.mk b/modules/iLBC.target.darwin-arm64.mk
index bb1cd01b..b5ca4fe9 100644
--- a/modules/iLBC.target.darwin-arm64.mk
+++ b/modules/iLBC.target.darwin-arm64.mk
@@ -325,6 +325,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -338,6 +339,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/iLBC.target.darwin-mips.mk b/modules/iLBC.target.darwin-mips.mk
index 1f9094c5..c785b689 100644
--- a/modules/iLBC.target.darwin-mips.mk
+++ b/modules/iLBC.target.darwin-mips.mk
@@ -345,6 +345,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -360,6 +361,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/iLBC.target.darwin-x86.mk b/modules/iLBC.target.darwin-x86.mk
index 30e34d0a..508eb616 100644
--- a/modules/iLBC.target.darwin-x86.mk
+++ b/modules/iLBC.target.darwin-x86.mk
@@ -337,6 +337,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -352,6 +353,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/iLBC.target.darwin-x86_64.mk b/modules/iLBC.target.darwin-x86_64.mk
index fcebd3c1..7ad9fc05 100644
--- a/modules/iLBC.target.darwin-x86_64.mk
+++ b/modules/iLBC.target.darwin-x86_64.mk
@@ -335,6 +335,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -350,6 +351,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/iLBC.target.linux-arm.mk b/modules/iLBC.target.linux-arm.mk
index cead9427..dc7c781e 100644
--- a/modules/iLBC.target.linux-arm.mk
+++ b/modules/iLBC.target.linux-arm.mk
@@ -356,6 +356,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -373,6 +374,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/iLBC.target.linux-arm64.mk b/modules/iLBC.target.linux-arm64.mk
index bb1cd01b..b5ca4fe9 100644
--- a/modules/iLBC.target.linux-arm64.mk
+++ b/modules/iLBC.target.linux-arm64.mk
@@ -325,6 +325,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -338,6 +339,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/iLBC.target.linux-mips.mk b/modules/iLBC.target.linux-mips.mk
index 1f9094c5..c785b689 100644
--- a/modules/iLBC.target.linux-mips.mk
+++ b/modules/iLBC.target.linux-mips.mk
@@ -345,6 +345,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -360,6 +361,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/iLBC.target.linux-x86.mk b/modules/iLBC.target.linux-x86.mk
index 30e34d0a..508eb616 100644
--- a/modules/iLBC.target.linux-x86.mk
+++ b/modules/iLBC.target.linux-x86.mk
@@ -337,6 +337,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -352,6 +353,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/iLBC.target.linux-x86_64.mk b/modules/iLBC.target.linux-x86_64.mk
index fcebd3c1..7ad9fc05 100644
--- a/modules/iLBC.target.linux-x86_64.mk
+++ b/modules/iLBC.target.linux-x86_64.mk
@@ -335,6 +335,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -350,6 +351,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/iSAC.target.darwin-arm.mk b/modules/iSAC.target.darwin-arm.mk
index 5d78c23f..720042ef 100644
--- a/modules/iSAC.target.darwin-arm.mk
+++ b/modules/iSAC.target.darwin-arm.mk
@@ -315,6 +315,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -332,6 +333,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/iSAC.target.darwin-arm64.mk b/modules/iSAC.target.darwin-arm64.mk
index 2acf8ed2..ce39629d 100644
--- a/modules/iSAC.target.darwin-arm64.mk
+++ b/modules/iSAC.target.darwin-arm64.mk
@@ -284,6 +284,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -297,6 +298,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/iSAC.target.darwin-mips.mk b/modules/iSAC.target.darwin-mips.mk
index bb143982..2d39671c 100644
--- a/modules/iSAC.target.darwin-mips.mk
+++ b/modules/iSAC.target.darwin-mips.mk
@@ -304,6 +304,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -319,6 +320,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/iSAC.target.darwin-x86.mk b/modules/iSAC.target.darwin-x86.mk
index f44d09c5..26b9efec 100644
--- a/modules/iSAC.target.darwin-x86.mk
+++ b/modules/iSAC.target.darwin-x86.mk
@@ -296,6 +296,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -311,6 +312,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/iSAC.target.darwin-x86_64.mk b/modules/iSAC.target.darwin-x86_64.mk
index 57de57a9..9d164ff3 100644
--- a/modules/iSAC.target.darwin-x86_64.mk
+++ b/modules/iSAC.target.darwin-x86_64.mk
@@ -294,6 +294,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -309,6 +310,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/iSAC.target.linux-arm.mk b/modules/iSAC.target.linux-arm.mk
index 5d78c23f..720042ef 100644
--- a/modules/iSAC.target.linux-arm.mk
+++ b/modules/iSAC.target.linux-arm.mk
@@ -315,6 +315,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -332,6 +333,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/iSAC.target.linux-arm64.mk b/modules/iSAC.target.linux-arm64.mk
index 2acf8ed2..ce39629d 100644
--- a/modules/iSAC.target.linux-arm64.mk
+++ b/modules/iSAC.target.linux-arm64.mk
@@ -284,6 +284,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -297,6 +298,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/iSAC.target.linux-mips.mk b/modules/iSAC.target.linux-mips.mk
index bb143982..2d39671c 100644
--- a/modules/iSAC.target.linux-mips.mk
+++ b/modules/iSAC.target.linux-mips.mk
@@ -304,6 +304,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -319,6 +320,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/iSAC.target.linux-x86.mk b/modules/iSAC.target.linux-x86.mk
index f44d09c5..26b9efec 100644
--- a/modules/iSAC.target.linux-x86.mk
+++ b/modules/iSAC.target.linux-x86.mk
@@ -296,6 +296,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -311,6 +312,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/iSAC.target.linux-x86_64.mk b/modules/iSAC.target.linux-x86_64.mk
index 57de57a9..9d164ff3 100644
--- a/modules/iSAC.target.linux-x86_64.mk
+++ b/modules/iSAC.target.linux-x86_64.mk
@@ -294,6 +294,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -309,6 +310,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/iSACFix.target.darwin-arm.mk b/modules/iSACFix.target.darwin-arm.mk
index 6b24e4b6..e8c3a9e4 100644
--- a/modules/iSACFix.target.darwin-arm.mk
+++ b/modules/iSACFix.target.darwin-arm.mk
@@ -315,6 +315,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -332,6 +333,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/iSACFix.target.darwin-arm64.mk b/modules/iSACFix.target.darwin-arm64.mk
index 95cbc0b7..302a797a 100644
--- a/modules/iSACFix.target.darwin-arm64.mk
+++ b/modules/iSACFix.target.darwin-arm64.mk
@@ -284,6 +284,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -297,6 +298,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/iSACFix.target.darwin-mips.mk b/modules/iSACFix.target.darwin-mips.mk
index c2e9e7ec..026c4be9 100644
--- a/modules/iSACFix.target.darwin-mips.mk
+++ b/modules/iSACFix.target.darwin-mips.mk
@@ -304,6 +304,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -319,6 +320,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/iSACFix.target.darwin-x86.mk b/modules/iSACFix.target.darwin-x86.mk
index 3497b0c4..f2ca7372 100644
--- a/modules/iSACFix.target.darwin-x86.mk
+++ b/modules/iSACFix.target.darwin-x86.mk
@@ -296,6 +296,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -311,6 +312,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/iSACFix.target.darwin-x86_64.mk b/modules/iSACFix.target.darwin-x86_64.mk
index dd5a4ce9..82044b8b 100644
--- a/modules/iSACFix.target.darwin-x86_64.mk
+++ b/modules/iSACFix.target.darwin-x86_64.mk
@@ -294,6 +294,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -309,6 +310,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/iSACFix.target.linux-arm.mk b/modules/iSACFix.target.linux-arm.mk
index 6b24e4b6..e8c3a9e4 100644
--- a/modules/iSACFix.target.linux-arm.mk
+++ b/modules/iSACFix.target.linux-arm.mk
@@ -315,6 +315,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -332,6 +333,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/iSACFix.target.linux-arm64.mk b/modules/iSACFix.target.linux-arm64.mk
index 95cbc0b7..302a797a 100644
--- a/modules/iSACFix.target.linux-arm64.mk
+++ b/modules/iSACFix.target.linux-arm64.mk
@@ -284,6 +284,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -297,6 +298,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/iSACFix.target.linux-mips.mk b/modules/iSACFix.target.linux-mips.mk
index c2e9e7ec..026c4be9 100644
--- a/modules/iSACFix.target.linux-mips.mk
+++ b/modules/iSACFix.target.linux-mips.mk
@@ -304,6 +304,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -319,6 +320,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/iSACFix.target.linux-x86.mk b/modules/iSACFix.target.linux-x86.mk
index 3497b0c4..f2ca7372 100644
--- a/modules/iSACFix.target.linux-x86.mk
+++ b/modules/iSACFix.target.linux-x86.mk
@@ -296,6 +296,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -311,6 +312,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/iSACFix.target.linux-x86_64.mk b/modules/iSACFix.target.linux-x86_64.mk
index dd5a4ce9..82044b8b 100644
--- a/modules/iSACFix.target.linux-x86_64.mk
+++ b/modules/iSACFix.target.linux-x86_64.mk
@@ -294,6 +294,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -309,6 +310,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/isac_neon.target.darwin-arm.mk b/modules/isac_neon.target.darwin-arm.mk
index 3426f853..de60236a 100644
--- a/modules/isac_neon.target.darwin-arm.mk
+++ b/modules/isac_neon.target.darwin-arm.mk
@@ -295,6 +295,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -312,6 +313,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/isac_neon.target.linux-arm.mk b/modules/isac_neon.target.linux-arm.mk
index 3426f853..de60236a 100644
--- a/modules/isac_neon.target.linux-arm.mk
+++ b/modules/isac_neon.target.linux-arm.mk
@@ -295,6 +295,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -312,6 +313,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/media_file.target.darwin-arm.mk b/modules/media_file.target.darwin-arm.mk
index 6e401ee6..3432db99 100644
--- a/modules/media_file.target.darwin-arm.mk
+++ b/modules/media_file.target.darwin-arm.mk
@@ -287,6 +287,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -304,6 +305,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/media_file.target.darwin-arm64.mk b/modules/media_file.target.darwin-arm64.mk
index 2ad9b3ca..24afd3f5 100644
--- a/modules/media_file.target.darwin-arm64.mk
+++ b/modules/media_file.target.darwin-arm64.mk
@@ -256,6 +256,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -269,6 +270,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/media_file.target.darwin-mips.mk b/modules/media_file.target.darwin-mips.mk
index a6c9865d..7c89b5e0 100644
--- a/modules/media_file.target.darwin-mips.mk
+++ b/modules/media_file.target.darwin-mips.mk
@@ -276,6 +276,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -291,6 +292,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/media_file.target.darwin-x86.mk b/modules/media_file.target.darwin-x86.mk
index a81ad7a4..3404a501 100644
--- a/modules/media_file.target.darwin-x86.mk
+++ b/modules/media_file.target.darwin-x86.mk
@@ -268,6 +268,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -283,6 +284,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/media_file.target.darwin-x86_64.mk b/modules/media_file.target.darwin-x86_64.mk
index 4ee47ba9..6eed4fc6 100644
--- a/modules/media_file.target.darwin-x86_64.mk
+++ b/modules/media_file.target.darwin-x86_64.mk
@@ -266,6 +266,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -281,6 +282,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/media_file.target.linux-arm.mk b/modules/media_file.target.linux-arm.mk
index 6e401ee6..3432db99 100644
--- a/modules/media_file.target.linux-arm.mk
+++ b/modules/media_file.target.linux-arm.mk
@@ -287,6 +287,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -304,6 +305,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/media_file.target.linux-arm64.mk b/modules/media_file.target.linux-arm64.mk
index 2ad9b3ca..24afd3f5 100644
--- a/modules/media_file.target.linux-arm64.mk
+++ b/modules/media_file.target.linux-arm64.mk
@@ -256,6 +256,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -269,6 +270,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/media_file.target.linux-mips.mk b/modules/media_file.target.linux-mips.mk
index a6c9865d..7c89b5e0 100644
--- a/modules/media_file.target.linux-mips.mk
+++ b/modules/media_file.target.linux-mips.mk
@@ -276,6 +276,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -291,6 +292,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/media_file.target.linux-x86.mk b/modules/media_file.target.linux-x86.mk
index a81ad7a4..3404a501 100644
--- a/modules/media_file.target.linux-x86.mk
+++ b/modules/media_file.target.linux-x86.mk
@@ -268,6 +268,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -283,6 +284,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/media_file.target.linux-x86_64.mk b/modules/media_file.target.linux-x86_64.mk
index 4ee47ba9..6eed4fc6 100644
--- a/modules/media_file.target.linux-x86_64.mk
+++ b/modules/media_file.target.linux-x86_64.mk
@@ -266,6 +266,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -281,6 +282,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/paced_sender.target.darwin-arm.mk b/modules/paced_sender.target.darwin-arm.mk
index 533d1f80..c84e2dd3 100644
--- a/modules/paced_sender.target.darwin-arm.mk
+++ b/modules/paced_sender.target.darwin-arm.mk
@@ -281,6 +281,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -298,6 +299,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/paced_sender.target.darwin-arm64.mk b/modules/paced_sender.target.darwin-arm64.mk
index d0fbf37a..4750f694 100644
--- a/modules/paced_sender.target.darwin-arm64.mk
+++ b/modules/paced_sender.target.darwin-arm64.mk
@@ -250,6 +250,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -263,6 +264,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/paced_sender.target.darwin-mips.mk b/modules/paced_sender.target.darwin-mips.mk
index ad2a8b09..7a09c1b6 100644
--- a/modules/paced_sender.target.darwin-mips.mk
+++ b/modules/paced_sender.target.darwin-mips.mk
@@ -270,6 +270,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -285,6 +286,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/paced_sender.target.darwin-x86.mk b/modules/paced_sender.target.darwin-x86.mk
index 44d2067d..7ab0a6ef 100644
--- a/modules/paced_sender.target.darwin-x86.mk
+++ b/modules/paced_sender.target.darwin-x86.mk
@@ -262,6 +262,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -277,6 +278,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/paced_sender.target.darwin-x86_64.mk b/modules/paced_sender.target.darwin-x86_64.mk
index 43be6636..52480e3c 100644
--- a/modules/paced_sender.target.darwin-x86_64.mk
+++ b/modules/paced_sender.target.darwin-x86_64.mk
@@ -260,6 +260,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -275,6 +276,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/paced_sender.target.linux-arm.mk b/modules/paced_sender.target.linux-arm.mk
index 533d1f80..c84e2dd3 100644
--- a/modules/paced_sender.target.linux-arm.mk
+++ b/modules/paced_sender.target.linux-arm.mk
@@ -281,6 +281,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -298,6 +299,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/paced_sender.target.linux-arm64.mk b/modules/paced_sender.target.linux-arm64.mk
index d0fbf37a..4750f694 100644
--- a/modules/paced_sender.target.linux-arm64.mk
+++ b/modules/paced_sender.target.linux-arm64.mk
@@ -250,6 +250,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -263,6 +264,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/paced_sender.target.linux-mips.mk b/modules/paced_sender.target.linux-mips.mk
index ad2a8b09..7a09c1b6 100644
--- a/modules/paced_sender.target.linux-mips.mk
+++ b/modules/paced_sender.target.linux-mips.mk
@@ -270,6 +270,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -285,6 +286,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/paced_sender.target.linux-x86.mk b/modules/paced_sender.target.linux-x86.mk
index 44d2067d..7ab0a6ef 100644
--- a/modules/paced_sender.target.linux-x86.mk
+++ b/modules/paced_sender.target.linux-x86.mk
@@ -262,6 +262,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -277,6 +278,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/paced_sender.target.linux-x86_64.mk b/modules/paced_sender.target.linux-x86_64.mk
index 43be6636..52480e3c 100644
--- a/modules/paced_sender.target.linux-x86_64.mk
+++ b/modules/paced_sender.target.linux-x86_64.mk
@@ -260,6 +260,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -275,6 +276,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/remote_bitrate_estimator.target.darwin-arm.mk b/modules/remote_bitrate_estimator.target.darwin-arm.mk
index 62bb3b9d..a4a7a478 100644
--- a/modules/remote_bitrate_estimator.target.darwin-arm.mk
+++ b/modules/remote_bitrate_estimator.target.darwin-arm.mk
@@ -281,6 +281,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -298,6 +299,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/remote_bitrate_estimator.target.darwin-arm64.mk b/modules/remote_bitrate_estimator.target.darwin-arm64.mk
index 90aadda6..5b7847ff 100644
--- a/modules/remote_bitrate_estimator.target.darwin-arm64.mk
+++ b/modules/remote_bitrate_estimator.target.darwin-arm64.mk
@@ -250,6 +250,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -263,6 +264,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/remote_bitrate_estimator.target.darwin-mips.mk b/modules/remote_bitrate_estimator.target.darwin-mips.mk
index 80b13683..70995a12 100644
--- a/modules/remote_bitrate_estimator.target.darwin-mips.mk
+++ b/modules/remote_bitrate_estimator.target.darwin-mips.mk
@@ -270,6 +270,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -285,6 +286,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/remote_bitrate_estimator.target.darwin-x86.mk b/modules/remote_bitrate_estimator.target.darwin-x86.mk
index edfcef33..24519158 100644
--- a/modules/remote_bitrate_estimator.target.darwin-x86.mk
+++ b/modules/remote_bitrate_estimator.target.darwin-x86.mk
@@ -262,6 +262,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -277,6 +278,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/remote_bitrate_estimator.target.darwin-x86_64.mk b/modules/remote_bitrate_estimator.target.darwin-x86_64.mk
index c3fbdace..abd87f1e 100644
--- a/modules/remote_bitrate_estimator.target.darwin-x86_64.mk
+++ b/modules/remote_bitrate_estimator.target.darwin-x86_64.mk
@@ -260,6 +260,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -275,6 +276,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/remote_bitrate_estimator.target.linux-arm.mk b/modules/remote_bitrate_estimator.target.linux-arm.mk
index 62bb3b9d..a4a7a478 100644
--- a/modules/remote_bitrate_estimator.target.linux-arm.mk
+++ b/modules/remote_bitrate_estimator.target.linux-arm.mk
@@ -281,6 +281,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -298,6 +299,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/remote_bitrate_estimator.target.linux-arm64.mk b/modules/remote_bitrate_estimator.target.linux-arm64.mk
index 90aadda6..5b7847ff 100644
--- a/modules/remote_bitrate_estimator.target.linux-arm64.mk
+++ b/modules/remote_bitrate_estimator.target.linux-arm64.mk
@@ -250,6 +250,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -263,6 +264,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/remote_bitrate_estimator.target.linux-mips.mk b/modules/remote_bitrate_estimator.target.linux-mips.mk
index 80b13683..70995a12 100644
--- a/modules/remote_bitrate_estimator.target.linux-mips.mk
+++ b/modules/remote_bitrate_estimator.target.linux-mips.mk
@@ -270,6 +270,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -285,6 +286,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/remote_bitrate_estimator.target.linux-x86.mk b/modules/remote_bitrate_estimator.target.linux-x86.mk
index edfcef33..24519158 100644
--- a/modules/remote_bitrate_estimator.target.linux-x86.mk
+++ b/modules/remote_bitrate_estimator.target.linux-x86.mk
@@ -262,6 +262,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -277,6 +278,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/remote_bitrate_estimator.target.linux-x86_64.mk b/modules/remote_bitrate_estimator.target.linux-x86_64.mk
index c3fbdace..abd87f1e 100644
--- a/modules/remote_bitrate_estimator.target.linux-x86_64.mk
+++ b/modules/remote_bitrate_estimator.target.linux-x86_64.mk
@@ -260,6 +260,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -275,6 +276,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/remote_bitrate_estimator/rbe_components.target.darwin-arm.mk b/modules/remote_bitrate_estimator/rbe_components.target.darwin-arm.mk
index 33fd7e4b..8cc1fe59 100644
--- a/modules/remote_bitrate_estimator/rbe_components.target.darwin-arm.mk
+++ b/modules/remote_bitrate_estimator/rbe_components.target.darwin-arm.mk
@@ -273,6 +273,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -290,6 +291,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/remote_bitrate_estimator/rbe_components.target.darwin-arm64.mk b/modules/remote_bitrate_estimator/rbe_components.target.darwin-arm64.mk
index d2e9a728..d79856f1 100644
--- a/modules/remote_bitrate_estimator/rbe_components.target.darwin-arm64.mk
+++ b/modules/remote_bitrate_estimator/rbe_components.target.darwin-arm64.mk
@@ -242,6 +242,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -255,6 +256,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/remote_bitrate_estimator/rbe_components.target.darwin-mips.mk b/modules/remote_bitrate_estimator/rbe_components.target.darwin-mips.mk
index ea993839..ecf87763 100644
--- a/modules/remote_bitrate_estimator/rbe_components.target.darwin-mips.mk
+++ b/modules/remote_bitrate_estimator/rbe_components.target.darwin-mips.mk
@@ -260,6 +260,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -275,6 +276,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/remote_bitrate_estimator/rbe_components.target.darwin-x86.mk b/modules/remote_bitrate_estimator/rbe_components.target.darwin-x86.mk
index 3035435d..5716039a 100644
--- a/modules/remote_bitrate_estimator/rbe_components.target.darwin-x86.mk
+++ b/modules/remote_bitrate_estimator/rbe_components.target.darwin-x86.mk
@@ -254,6 +254,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -269,6 +270,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/remote_bitrate_estimator/rbe_components.target.darwin-x86_64.mk b/modules/remote_bitrate_estimator/rbe_components.target.darwin-x86_64.mk
index ef2dd512..cdcab772 100644
--- a/modules/remote_bitrate_estimator/rbe_components.target.darwin-x86_64.mk
+++ b/modules/remote_bitrate_estimator/rbe_components.target.darwin-x86_64.mk
@@ -252,6 +252,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -267,6 +268,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/remote_bitrate_estimator/rbe_components.target.linux-arm.mk b/modules/remote_bitrate_estimator/rbe_components.target.linux-arm.mk
index 33fd7e4b..8cc1fe59 100644
--- a/modules/remote_bitrate_estimator/rbe_components.target.linux-arm.mk
+++ b/modules/remote_bitrate_estimator/rbe_components.target.linux-arm.mk
@@ -273,6 +273,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -290,6 +291,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/remote_bitrate_estimator/rbe_components.target.linux-arm64.mk b/modules/remote_bitrate_estimator/rbe_components.target.linux-arm64.mk
index d2e9a728..d79856f1 100644
--- a/modules/remote_bitrate_estimator/rbe_components.target.linux-arm64.mk
+++ b/modules/remote_bitrate_estimator/rbe_components.target.linux-arm64.mk
@@ -242,6 +242,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -255,6 +256,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/remote_bitrate_estimator/rbe_components.target.linux-mips.mk b/modules/remote_bitrate_estimator/rbe_components.target.linux-mips.mk
index ea993839..ecf87763 100644
--- a/modules/remote_bitrate_estimator/rbe_components.target.linux-mips.mk
+++ b/modules/remote_bitrate_estimator/rbe_components.target.linux-mips.mk
@@ -260,6 +260,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -275,6 +276,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/remote_bitrate_estimator/rbe_components.target.linux-x86.mk b/modules/remote_bitrate_estimator/rbe_components.target.linux-x86.mk
index 3035435d..5716039a 100644
--- a/modules/remote_bitrate_estimator/rbe_components.target.linux-x86.mk
+++ b/modules/remote_bitrate_estimator/rbe_components.target.linux-x86.mk
@@ -254,6 +254,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -269,6 +270,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/remote_bitrate_estimator/rbe_components.target.linux-x86_64.mk b/modules/remote_bitrate_estimator/rbe_components.target.linux-x86_64.mk
index ef2dd512..cdcab772 100644
--- a/modules/remote_bitrate_estimator/rbe_components.target.linux-x86_64.mk
+++ b/modules/remote_bitrate_estimator/rbe_components.target.linux-x86_64.mk
@@ -252,6 +252,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -267,6 +268,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/rtp_rtcp.target.darwin-arm.mk b/modules/rtp_rtcp.target.darwin-arm.mk
index 19814d0f..f8fa447f 100644
--- a/modules/rtp_rtcp.target.darwin-arm.mk
+++ b/modules/rtp_rtcp.target.darwin-arm.mk
@@ -310,6 +310,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -327,6 +328,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/rtp_rtcp.target.darwin-arm64.mk b/modules/rtp_rtcp.target.darwin-arm64.mk
index 2f2edaa8..e185a07e 100644
--- a/modules/rtp_rtcp.target.darwin-arm64.mk
+++ b/modules/rtp_rtcp.target.darwin-arm64.mk
@@ -279,6 +279,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -292,6 +293,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/rtp_rtcp.target.darwin-mips.mk b/modules/rtp_rtcp.target.darwin-mips.mk
index 34a981db..aab511c3 100644
--- a/modules/rtp_rtcp.target.darwin-mips.mk
+++ b/modules/rtp_rtcp.target.darwin-mips.mk
@@ -299,6 +299,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -314,6 +315,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/rtp_rtcp.target.darwin-x86.mk b/modules/rtp_rtcp.target.darwin-x86.mk
index b8d03b10..45ee736e 100644
--- a/modules/rtp_rtcp.target.darwin-x86.mk
+++ b/modules/rtp_rtcp.target.darwin-x86.mk
@@ -291,6 +291,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -306,6 +307,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/rtp_rtcp.target.darwin-x86_64.mk b/modules/rtp_rtcp.target.darwin-x86_64.mk
index ddccddc0..04668f63 100644
--- a/modules/rtp_rtcp.target.darwin-x86_64.mk
+++ b/modules/rtp_rtcp.target.darwin-x86_64.mk
@@ -289,6 +289,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -304,6 +305,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/rtp_rtcp.target.linux-arm.mk b/modules/rtp_rtcp.target.linux-arm.mk
index 19814d0f..f8fa447f 100644
--- a/modules/rtp_rtcp.target.linux-arm.mk
+++ b/modules/rtp_rtcp.target.linux-arm.mk
@@ -310,6 +310,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -327,6 +328,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/rtp_rtcp.target.linux-arm64.mk b/modules/rtp_rtcp.target.linux-arm64.mk
index 2f2edaa8..e185a07e 100644
--- a/modules/rtp_rtcp.target.linux-arm64.mk
+++ b/modules/rtp_rtcp.target.linux-arm64.mk
@@ -279,6 +279,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -292,6 +293,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/rtp_rtcp.target.linux-mips.mk b/modules/rtp_rtcp.target.linux-mips.mk
index 34a981db..aab511c3 100644
--- a/modules/rtp_rtcp.target.linux-mips.mk
+++ b/modules/rtp_rtcp.target.linux-mips.mk
@@ -299,6 +299,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -314,6 +315,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/rtp_rtcp.target.linux-x86.mk b/modules/rtp_rtcp.target.linux-x86.mk
index b8d03b10..45ee736e 100644
--- a/modules/rtp_rtcp.target.linux-x86.mk
+++ b/modules/rtp_rtcp.target.linux-x86.mk
@@ -291,6 +291,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -306,6 +307,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/rtp_rtcp.target.linux-x86_64.mk b/modules/rtp_rtcp.target.linux-x86_64.mk
index ddccddc0..04668f63 100644
--- a/modules/rtp_rtcp.target.linux-x86_64.mk
+++ b/modules/rtp_rtcp.target.linux-x86_64.mk
@@ -289,6 +289,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -304,6 +305,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_capture_module.target.darwin-arm.mk b/modules/video_capture_module.target.darwin-arm.mk
index 58f9efbd..2c585986 100644
--- a/modules/video_capture_module.target.darwin-arm.mk
+++ b/modules/video_capture_module.target.darwin-arm.mk
@@ -289,6 +289,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -306,6 +307,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/video_capture_module.target.darwin-arm64.mk b/modules/video_capture_module.target.darwin-arm64.mk
index 9c259159..2d195dd9 100644
--- a/modules/video_capture_module.target.darwin-arm64.mk
+++ b/modules/video_capture_module.target.darwin-arm64.mk
@@ -258,6 +258,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -271,6 +272,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_capture_module.target.darwin-mips.mk b/modules/video_capture_module.target.darwin-mips.mk
index 0743cc51..6e5a2756 100644
--- a/modules/video_capture_module.target.darwin-mips.mk
+++ b/modules/video_capture_module.target.darwin-mips.mk
@@ -278,6 +278,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -293,6 +294,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_capture_module.target.darwin-x86.mk b/modules/video_capture_module.target.darwin-x86.mk
index a59cad97..cdfd8b75 100644
--- a/modules/video_capture_module.target.darwin-x86.mk
+++ b/modules/video_capture_module.target.darwin-x86.mk
@@ -270,6 +270,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -285,6 +286,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_capture_module.target.darwin-x86_64.mk b/modules/video_capture_module.target.darwin-x86_64.mk
index 15bbcd81..2a3c660d 100644
--- a/modules/video_capture_module.target.darwin-x86_64.mk
+++ b/modules/video_capture_module.target.darwin-x86_64.mk
@@ -268,6 +268,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -283,6 +284,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_capture_module.target.linux-arm.mk b/modules/video_capture_module.target.linux-arm.mk
index 58f9efbd..2c585986 100644
--- a/modules/video_capture_module.target.linux-arm.mk
+++ b/modules/video_capture_module.target.linux-arm.mk
@@ -289,6 +289,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -306,6 +307,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/video_capture_module.target.linux-arm64.mk b/modules/video_capture_module.target.linux-arm64.mk
index 9c259159..2d195dd9 100644
--- a/modules/video_capture_module.target.linux-arm64.mk
+++ b/modules/video_capture_module.target.linux-arm64.mk
@@ -258,6 +258,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -271,6 +272,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_capture_module.target.linux-mips.mk b/modules/video_capture_module.target.linux-mips.mk
index 0743cc51..6e5a2756 100644
--- a/modules/video_capture_module.target.linux-mips.mk
+++ b/modules/video_capture_module.target.linux-mips.mk
@@ -278,6 +278,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -293,6 +294,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_capture_module.target.linux-x86.mk b/modules/video_capture_module.target.linux-x86.mk
index a59cad97..cdfd8b75 100644
--- a/modules/video_capture_module.target.linux-x86.mk
+++ b/modules/video_capture_module.target.linux-x86.mk
@@ -270,6 +270,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -285,6 +286,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_capture_module.target.linux-x86_64.mk b/modules/video_capture_module.target.linux-x86_64.mk
index 15bbcd81..2a3c660d 100644
--- a/modules/video_capture_module.target.linux-x86_64.mk
+++ b/modules/video_capture_module.target.linux-x86_64.mk
@@ -268,6 +268,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -283,6 +284,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_coding/codecs/vp8/webrtc_vp8.target.darwin-arm.mk b/modules/video_coding/codecs/vp8/webrtc_vp8.target.darwin-arm.mk
index c1804085..823475b0 100644
--- a/modules/video_coding/codecs/vp8/webrtc_vp8.target.darwin-arm.mk
+++ b/modules/video_coding/codecs/vp8/webrtc_vp8.target.darwin-arm.mk
@@ -283,6 +283,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -300,6 +301,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/video_coding/codecs/vp8/webrtc_vp8.target.darwin-arm64.mk b/modules/video_coding/codecs/vp8/webrtc_vp8.target.darwin-arm64.mk
index b9033feb..ff679677 100644
--- a/modules/video_coding/codecs/vp8/webrtc_vp8.target.darwin-arm64.mk
+++ b/modules/video_coding/codecs/vp8/webrtc_vp8.target.darwin-arm64.mk
@@ -252,6 +252,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -265,6 +266,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_coding/codecs/vp8/webrtc_vp8.target.darwin-mips.mk b/modules/video_coding/codecs/vp8/webrtc_vp8.target.darwin-mips.mk
index 0b159c47..5d1603bc 100644
--- a/modules/video_coding/codecs/vp8/webrtc_vp8.target.darwin-mips.mk
+++ b/modules/video_coding/codecs/vp8/webrtc_vp8.target.darwin-mips.mk
@@ -270,6 +270,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -285,6 +286,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_coding/codecs/vp8/webrtc_vp8.target.darwin-x86.mk b/modules/video_coding/codecs/vp8/webrtc_vp8.target.darwin-x86.mk
index 730df222..505b3b1d 100644
--- a/modules/video_coding/codecs/vp8/webrtc_vp8.target.darwin-x86.mk
+++ b/modules/video_coding/codecs/vp8/webrtc_vp8.target.darwin-x86.mk
@@ -264,6 +264,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -279,6 +280,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_coding/codecs/vp8/webrtc_vp8.target.darwin-x86_64.mk b/modules/video_coding/codecs/vp8/webrtc_vp8.target.darwin-x86_64.mk
index be36a58f..27f5ee08 100644
--- a/modules/video_coding/codecs/vp8/webrtc_vp8.target.darwin-x86_64.mk
+++ b/modules/video_coding/codecs/vp8/webrtc_vp8.target.darwin-x86_64.mk
@@ -262,6 +262,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -277,6 +278,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_coding/codecs/vp8/webrtc_vp8.target.linux-arm.mk b/modules/video_coding/codecs/vp8/webrtc_vp8.target.linux-arm.mk
index c1804085..823475b0 100644
--- a/modules/video_coding/codecs/vp8/webrtc_vp8.target.linux-arm.mk
+++ b/modules/video_coding/codecs/vp8/webrtc_vp8.target.linux-arm.mk
@@ -283,6 +283,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -300,6 +301,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/video_coding/codecs/vp8/webrtc_vp8.target.linux-arm64.mk b/modules/video_coding/codecs/vp8/webrtc_vp8.target.linux-arm64.mk
index b9033feb..ff679677 100644
--- a/modules/video_coding/codecs/vp8/webrtc_vp8.target.linux-arm64.mk
+++ b/modules/video_coding/codecs/vp8/webrtc_vp8.target.linux-arm64.mk
@@ -252,6 +252,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -265,6 +266,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_coding/codecs/vp8/webrtc_vp8.target.linux-mips.mk b/modules/video_coding/codecs/vp8/webrtc_vp8.target.linux-mips.mk
index 0b159c47..5d1603bc 100644
--- a/modules/video_coding/codecs/vp8/webrtc_vp8.target.linux-mips.mk
+++ b/modules/video_coding/codecs/vp8/webrtc_vp8.target.linux-mips.mk
@@ -270,6 +270,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -285,6 +286,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_coding/codecs/vp8/webrtc_vp8.target.linux-x86.mk b/modules/video_coding/codecs/vp8/webrtc_vp8.target.linux-x86.mk
index 730df222..505b3b1d 100644
--- a/modules/video_coding/codecs/vp8/webrtc_vp8.target.linux-x86.mk
+++ b/modules/video_coding/codecs/vp8/webrtc_vp8.target.linux-x86.mk
@@ -264,6 +264,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -279,6 +280,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_coding/codecs/vp8/webrtc_vp8.target.linux-x86_64.mk b/modules/video_coding/codecs/vp8/webrtc_vp8.target.linux-x86_64.mk
index be36a58f..27f5ee08 100644
--- a/modules/video_coding/codecs/vp8/webrtc_vp8.target.linux-x86_64.mk
+++ b/modules/video_coding/codecs/vp8/webrtc_vp8.target.linux-x86_64.mk
@@ -262,6 +262,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -277,6 +278,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_coding/utility/video_coding_utility.target.darwin-arm.mk b/modules/video_coding/utility/video_coding_utility.target.darwin-arm.mk
index 6f747874..78a65b6c 100644
--- a/modules/video_coding/utility/video_coding_utility.target.darwin-arm.mk
+++ b/modules/video_coding/utility/video_coding_utility.target.darwin-arm.mk
@@ -274,6 +274,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -291,6 +292,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/video_coding/utility/video_coding_utility.target.darwin-arm64.mk b/modules/video_coding/utility/video_coding_utility.target.darwin-arm64.mk
index a7e21372..dd082336 100644
--- a/modules/video_coding/utility/video_coding_utility.target.darwin-arm64.mk
+++ b/modules/video_coding/utility/video_coding_utility.target.darwin-arm64.mk
@@ -243,6 +243,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -256,6 +257,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_coding/utility/video_coding_utility.target.darwin-mips.mk b/modules/video_coding/utility/video_coding_utility.target.darwin-mips.mk
index 0ff8ca02..10dee642 100644
--- a/modules/video_coding/utility/video_coding_utility.target.darwin-mips.mk
+++ b/modules/video_coding/utility/video_coding_utility.target.darwin-mips.mk
@@ -261,6 +261,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -276,6 +277,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_coding/utility/video_coding_utility.target.darwin-x86.mk b/modules/video_coding/utility/video_coding_utility.target.darwin-x86.mk
index cacdf519..cbb8af19 100644
--- a/modules/video_coding/utility/video_coding_utility.target.darwin-x86.mk
+++ b/modules/video_coding/utility/video_coding_utility.target.darwin-x86.mk
@@ -255,6 +255,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -270,6 +271,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_coding/utility/video_coding_utility.target.darwin-x86_64.mk b/modules/video_coding/utility/video_coding_utility.target.darwin-x86_64.mk
index 6fc43377..f126471c 100644
--- a/modules/video_coding/utility/video_coding_utility.target.darwin-x86_64.mk
+++ b/modules/video_coding/utility/video_coding_utility.target.darwin-x86_64.mk
@@ -253,6 +253,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -268,6 +269,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_coding/utility/video_coding_utility.target.linux-arm.mk b/modules/video_coding/utility/video_coding_utility.target.linux-arm.mk
index 6f747874..78a65b6c 100644
--- a/modules/video_coding/utility/video_coding_utility.target.linux-arm.mk
+++ b/modules/video_coding/utility/video_coding_utility.target.linux-arm.mk
@@ -274,6 +274,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -291,6 +292,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/video_coding/utility/video_coding_utility.target.linux-arm64.mk b/modules/video_coding/utility/video_coding_utility.target.linux-arm64.mk
index a7e21372..dd082336 100644
--- a/modules/video_coding/utility/video_coding_utility.target.linux-arm64.mk
+++ b/modules/video_coding/utility/video_coding_utility.target.linux-arm64.mk
@@ -243,6 +243,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -256,6 +257,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_coding/utility/video_coding_utility.target.linux-mips.mk b/modules/video_coding/utility/video_coding_utility.target.linux-mips.mk
index 0ff8ca02..10dee642 100644
--- a/modules/video_coding/utility/video_coding_utility.target.linux-mips.mk
+++ b/modules/video_coding/utility/video_coding_utility.target.linux-mips.mk
@@ -261,6 +261,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -276,6 +277,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_coding/utility/video_coding_utility.target.linux-x86.mk b/modules/video_coding/utility/video_coding_utility.target.linux-x86.mk
index cacdf519..cbb8af19 100644
--- a/modules/video_coding/utility/video_coding_utility.target.linux-x86.mk
+++ b/modules/video_coding/utility/video_coding_utility.target.linux-x86.mk
@@ -255,6 +255,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -270,6 +271,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_coding/utility/video_coding_utility.target.linux-x86_64.mk b/modules/video_coding/utility/video_coding_utility.target.linux-x86_64.mk
index 6fc43377..f126471c 100644
--- a/modules/video_coding/utility/video_coding_utility.target.linux-x86_64.mk
+++ b/modules/video_coding/utility/video_coding_utility.target.linux-x86_64.mk
@@ -253,6 +253,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -268,6 +269,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_processing.target.darwin-arm.mk b/modules/video_processing.target.darwin-arm.mk
index 99bcc404..d3af15bb 100644
--- a/modules/video_processing.target.darwin-arm.mk
+++ b/modules/video_processing.target.darwin-arm.mk
@@ -300,6 +300,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -317,6 +318,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/video_processing.target.darwin-arm64.mk b/modules/video_processing.target.darwin-arm64.mk
index 493caa51..7f803a82 100644
--- a/modules/video_processing.target.darwin-arm64.mk
+++ b/modules/video_processing.target.darwin-arm64.mk
@@ -269,6 +269,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -282,6 +283,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_processing.target.darwin-mips.mk b/modules/video_processing.target.darwin-mips.mk
index 646fa1ce..2a421418 100644
--- a/modules/video_processing.target.darwin-mips.mk
+++ b/modules/video_processing.target.darwin-mips.mk
@@ -289,6 +289,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -304,6 +305,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_processing.target.darwin-x86.mk b/modules/video_processing.target.darwin-x86.mk
index 7df7de5b..c50431ac 100644
--- a/modules/video_processing.target.darwin-x86.mk
+++ b/modules/video_processing.target.darwin-x86.mk
@@ -281,6 +281,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -296,6 +297,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_processing.target.darwin-x86_64.mk b/modules/video_processing.target.darwin-x86_64.mk
index c05a50e3..f3e2000c 100644
--- a/modules/video_processing.target.darwin-x86_64.mk
+++ b/modules/video_processing.target.darwin-x86_64.mk
@@ -279,6 +279,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -294,6 +295,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_processing.target.linux-arm.mk b/modules/video_processing.target.linux-arm.mk
index 99bcc404..d3af15bb 100644
--- a/modules/video_processing.target.linux-arm.mk
+++ b/modules/video_processing.target.linux-arm.mk
@@ -300,6 +300,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -317,6 +318,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/video_processing.target.linux-arm64.mk b/modules/video_processing.target.linux-arm64.mk
index 493caa51..7f803a82 100644
--- a/modules/video_processing.target.linux-arm64.mk
+++ b/modules/video_processing.target.linux-arm64.mk
@@ -269,6 +269,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -282,6 +283,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_processing.target.linux-mips.mk b/modules/video_processing.target.linux-mips.mk
index 646fa1ce..2a421418 100644
--- a/modules/video_processing.target.linux-mips.mk
+++ b/modules/video_processing.target.linux-mips.mk
@@ -289,6 +289,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -304,6 +305,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_processing.target.linux-x86.mk b/modules/video_processing.target.linux-x86.mk
index 7df7de5b..c50431ac 100644
--- a/modules/video_processing.target.linux-x86.mk
+++ b/modules/video_processing.target.linux-x86.mk
@@ -281,6 +281,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -296,6 +297,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_processing.target.linux-x86_64.mk b/modules/video_processing.target.linux-x86_64.mk
index c05a50e3..f3e2000c 100644
--- a/modules/video_processing.target.linux-x86_64.mk
+++ b/modules/video_processing.target.linux-x86_64.mk
@@ -279,6 +279,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -294,6 +295,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_processing_sse2.target.darwin-x86.mk b/modules/video_processing_sse2.target.darwin-x86.mk
index b0adc12f..488330c4 100644
--- a/modules/video_processing_sse2.target.darwin-x86.mk
+++ b/modules/video_processing_sse2.target.darwin-x86.mk
@@ -262,6 +262,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -277,6 +278,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_processing_sse2.target.darwin-x86_64.mk b/modules/video_processing_sse2.target.darwin-x86_64.mk
index e98a5ece..5ace3af8 100644
--- a/modules/video_processing_sse2.target.darwin-x86_64.mk
+++ b/modules/video_processing_sse2.target.darwin-x86_64.mk
@@ -260,6 +260,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -275,6 +276,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_processing_sse2.target.linux-x86.mk b/modules/video_processing_sse2.target.linux-x86.mk
index b0adc12f..488330c4 100644
--- a/modules/video_processing_sse2.target.linux-x86.mk
+++ b/modules/video_processing_sse2.target.linux-x86.mk
@@ -262,6 +262,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -277,6 +278,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_processing_sse2.target.linux-x86_64.mk b/modules/video_processing_sse2.target.linux-x86_64.mk
index e98a5ece..5ace3af8 100644
--- a/modules/video_processing_sse2.target.linux-x86_64.mk
+++ b/modules/video_processing_sse2.target.linux-x86_64.mk
@@ -260,6 +260,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -275,6 +276,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_render_module.target.darwin-arm.mk b/modules/video_render_module.target.darwin-arm.mk
index 93542bcd..abaebd4c 100644
--- a/modules/video_render_module.target.darwin-arm.mk
+++ b/modules/video_render_module.target.darwin-arm.mk
@@ -288,6 +288,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -305,6 +306,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/video_render_module.target.darwin-arm64.mk b/modules/video_render_module.target.darwin-arm64.mk
index fd9731d3..7eb76870 100644
--- a/modules/video_render_module.target.darwin-arm64.mk
+++ b/modules/video_render_module.target.darwin-arm64.mk
@@ -257,6 +257,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -270,6 +271,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_render_module.target.darwin-mips.mk b/modules/video_render_module.target.darwin-mips.mk
index b87d6e38..ca73ec2e 100644
--- a/modules/video_render_module.target.darwin-mips.mk
+++ b/modules/video_render_module.target.darwin-mips.mk
@@ -277,6 +277,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -292,6 +293,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_render_module.target.darwin-x86.mk b/modules/video_render_module.target.darwin-x86.mk
index 3317ceb6..b47cac4a 100644
--- a/modules/video_render_module.target.darwin-x86.mk
+++ b/modules/video_render_module.target.darwin-x86.mk
@@ -269,6 +269,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -284,6 +285,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_render_module.target.darwin-x86_64.mk b/modules/video_render_module.target.darwin-x86_64.mk
index 90d8a26a..79a9110c 100644
--- a/modules/video_render_module.target.darwin-x86_64.mk
+++ b/modules/video_render_module.target.darwin-x86_64.mk
@@ -267,6 +267,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -282,6 +283,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_render_module.target.linux-arm.mk b/modules/video_render_module.target.linux-arm.mk
index 93542bcd..abaebd4c 100644
--- a/modules/video_render_module.target.linux-arm.mk
+++ b/modules/video_render_module.target.linux-arm.mk
@@ -288,6 +288,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -305,6 +306,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/video_render_module.target.linux-arm64.mk b/modules/video_render_module.target.linux-arm64.mk
index fd9731d3..7eb76870 100644
--- a/modules/video_render_module.target.linux-arm64.mk
+++ b/modules/video_render_module.target.linux-arm64.mk
@@ -257,6 +257,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -270,6 +271,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_render_module.target.linux-mips.mk b/modules/video_render_module.target.linux-mips.mk
index b87d6e38..ca73ec2e 100644
--- a/modules/video_render_module.target.linux-mips.mk
+++ b/modules/video_render_module.target.linux-mips.mk
@@ -277,6 +277,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -292,6 +293,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_render_module.target.linux-x86.mk b/modules/video_render_module.target.linux-x86.mk
index 3317ceb6..b47cac4a 100644
--- a/modules/video_render_module.target.linux-x86.mk
+++ b/modules/video_render_module.target.linux-x86.mk
@@ -269,6 +269,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -284,6 +285,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/video_render_module.target.linux-x86_64.mk b/modules/video_render_module.target.linux-x86_64.mk
index 90d8a26a..79a9110c 100644
--- a/modules/video_render_module.target.linux-x86_64.mk
+++ b/modules/video_render_module.target.linux-x86_64.mk
@@ -267,6 +267,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -282,6 +283,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/webrtc_i420.target.darwin-arm.mk b/modules/webrtc_i420.target.darwin-arm.mk
index 8da934d6..113b7f37 100644
--- a/modules/webrtc_i420.target.darwin-arm.mk
+++ b/modules/webrtc_i420.target.darwin-arm.mk
@@ -281,6 +281,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -298,6 +299,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/webrtc_i420.target.darwin-arm64.mk b/modules/webrtc_i420.target.darwin-arm64.mk
index 7ee7dde4..e041a6b1 100644
--- a/modules/webrtc_i420.target.darwin-arm64.mk
+++ b/modules/webrtc_i420.target.darwin-arm64.mk
@@ -250,6 +250,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -263,6 +264,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/webrtc_i420.target.darwin-mips.mk b/modules/webrtc_i420.target.darwin-mips.mk
index 36cce2e2..f7d11297 100644
--- a/modules/webrtc_i420.target.darwin-mips.mk
+++ b/modules/webrtc_i420.target.darwin-mips.mk
@@ -270,6 +270,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -285,6 +286,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/webrtc_i420.target.darwin-x86.mk b/modules/webrtc_i420.target.darwin-x86.mk
index 34014eb7..03c46eb6 100644
--- a/modules/webrtc_i420.target.darwin-x86.mk
+++ b/modules/webrtc_i420.target.darwin-x86.mk
@@ -262,6 +262,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -277,6 +278,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/webrtc_i420.target.darwin-x86_64.mk b/modules/webrtc_i420.target.darwin-x86_64.mk
index 49bb3974..113ba5e1 100644
--- a/modules/webrtc_i420.target.darwin-x86_64.mk
+++ b/modules/webrtc_i420.target.darwin-x86_64.mk
@@ -260,6 +260,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -275,6 +276,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/webrtc_i420.target.linux-arm.mk b/modules/webrtc_i420.target.linux-arm.mk
index 8da934d6..113b7f37 100644
--- a/modules/webrtc_i420.target.linux-arm.mk
+++ b/modules/webrtc_i420.target.linux-arm.mk
@@ -281,6 +281,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -298,6 +299,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/webrtc_i420.target.linux-arm64.mk b/modules/webrtc_i420.target.linux-arm64.mk
index 7ee7dde4..e041a6b1 100644
--- a/modules/webrtc_i420.target.linux-arm64.mk
+++ b/modules/webrtc_i420.target.linux-arm64.mk
@@ -250,6 +250,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -263,6 +264,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/webrtc_i420.target.linux-mips.mk b/modules/webrtc_i420.target.linux-mips.mk
index 36cce2e2..f7d11297 100644
--- a/modules/webrtc_i420.target.linux-mips.mk
+++ b/modules/webrtc_i420.target.linux-mips.mk
@@ -270,6 +270,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -285,6 +286,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/webrtc_i420.target.linux-x86.mk b/modules/webrtc_i420.target.linux-x86.mk
index 34014eb7..03c46eb6 100644
--- a/modules/webrtc_i420.target.linux-x86.mk
+++ b/modules/webrtc_i420.target.linux-x86.mk
@@ -262,6 +262,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -277,6 +278,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/webrtc_i420.target.linux-x86_64.mk b/modules/webrtc_i420.target.linux-x86_64.mk
index 49bb3974..113ba5e1 100644
--- a/modules/webrtc_i420.target.linux-x86_64.mk
+++ b/modules/webrtc_i420.target.linux-x86_64.mk
@@ -260,6 +260,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -275,6 +276,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/webrtc_opus.target.darwin-arm.mk b/modules/webrtc_opus.target.darwin-arm.mk
index c2fc9c48..e634ec20 100644
--- a/modules/webrtc_opus.target.darwin-arm.mk
+++ b/modules/webrtc_opus.target.darwin-arm.mk
@@ -282,6 +282,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -299,6 +300,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/webrtc_opus.target.darwin-arm64.mk b/modules/webrtc_opus.target.darwin-arm64.mk
index bdf90984..bbc2f62d 100644
--- a/modules/webrtc_opus.target.darwin-arm64.mk
+++ b/modules/webrtc_opus.target.darwin-arm64.mk
@@ -251,6 +251,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -264,6 +265,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/webrtc_opus.target.darwin-mips.mk b/modules/webrtc_opus.target.darwin-mips.mk
index 19632e5d..d4edaecd 100644
--- a/modules/webrtc_opus.target.darwin-mips.mk
+++ b/modules/webrtc_opus.target.darwin-mips.mk
@@ -271,6 +271,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -286,6 +287,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/webrtc_opus.target.darwin-x86.mk b/modules/webrtc_opus.target.darwin-x86.mk
index 3fd31867..de00d0f5 100644
--- a/modules/webrtc_opus.target.darwin-x86.mk
+++ b/modules/webrtc_opus.target.darwin-x86.mk
@@ -263,6 +263,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -278,6 +279,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/webrtc_opus.target.darwin-x86_64.mk b/modules/webrtc_opus.target.darwin-x86_64.mk
index 9397f33c..0a2f235b 100644
--- a/modules/webrtc_opus.target.darwin-x86_64.mk
+++ b/modules/webrtc_opus.target.darwin-x86_64.mk
@@ -261,6 +261,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -276,6 +277,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/webrtc_opus.target.linux-arm.mk b/modules/webrtc_opus.target.linux-arm.mk
index c2fc9c48..e634ec20 100644
--- a/modules/webrtc_opus.target.linux-arm.mk
+++ b/modules/webrtc_opus.target.linux-arm.mk
@@ -282,6 +282,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -299,6 +300,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/webrtc_opus.target.linux-arm64.mk b/modules/webrtc_opus.target.linux-arm64.mk
index bdf90984..bbc2f62d 100644
--- a/modules/webrtc_opus.target.linux-arm64.mk
+++ b/modules/webrtc_opus.target.linux-arm64.mk
@@ -251,6 +251,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -264,6 +265,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/webrtc_opus.target.linux-mips.mk b/modules/webrtc_opus.target.linux-mips.mk
index 19632e5d..d4edaecd 100644
--- a/modules/webrtc_opus.target.linux-mips.mk
+++ b/modules/webrtc_opus.target.linux-mips.mk
@@ -271,6 +271,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -286,6 +287,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/webrtc_opus.target.linux-x86.mk b/modules/webrtc_opus.target.linux-x86.mk
index 3fd31867..de00d0f5 100644
--- a/modules/webrtc_opus.target.linux-x86.mk
+++ b/modules/webrtc_opus.target.linux-x86.mk
@@ -263,6 +263,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -278,6 +279,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/webrtc_opus.target.linux-x86_64.mk b/modules/webrtc_opus.target.linux-x86_64.mk
index 9397f33c..0a2f235b 100644
--- a/modules/webrtc_opus.target.linux-x86_64.mk
+++ b/modules/webrtc_opus.target.linux-x86_64.mk
@@ -261,6 +261,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -276,6 +277,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/webrtc_utility.target.darwin-arm.mk b/modules/webrtc_utility.target.darwin-arm.mk
index 36249219..66940f63 100644
--- a/modules/webrtc_utility.target.darwin-arm.mk
+++ b/modules/webrtc_utility.target.darwin-arm.mk
@@ -304,6 +304,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -321,6 +322,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/webrtc_utility.target.darwin-arm64.mk b/modules/webrtc_utility.target.darwin-arm64.mk
index 5f4c4cc5..383c5cd2 100644
--- a/modules/webrtc_utility.target.darwin-arm64.mk
+++ b/modules/webrtc_utility.target.darwin-arm64.mk
@@ -273,6 +273,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -286,6 +287,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/webrtc_utility.target.darwin-mips.mk b/modules/webrtc_utility.target.darwin-mips.mk
index a174a375..b28f6e5d 100644
--- a/modules/webrtc_utility.target.darwin-mips.mk
+++ b/modules/webrtc_utility.target.darwin-mips.mk
@@ -293,6 +293,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -308,6 +309,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/webrtc_utility.target.darwin-x86.mk b/modules/webrtc_utility.target.darwin-x86.mk
index fb5e78e4..40b8730e 100644
--- a/modules/webrtc_utility.target.darwin-x86.mk
+++ b/modules/webrtc_utility.target.darwin-x86.mk
@@ -285,6 +285,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -300,6 +301,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/webrtc_utility.target.darwin-x86_64.mk b/modules/webrtc_utility.target.darwin-x86_64.mk
index eb869fc8..a3ace7d7 100644
--- a/modules/webrtc_utility.target.darwin-x86_64.mk
+++ b/modules/webrtc_utility.target.darwin-x86_64.mk
@@ -283,6 +283,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -298,6 +299,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/webrtc_utility.target.linux-arm.mk b/modules/webrtc_utility.target.linux-arm.mk
index 36249219..66940f63 100644
--- a/modules/webrtc_utility.target.linux-arm.mk
+++ b/modules/webrtc_utility.target.linux-arm.mk
@@ -304,6 +304,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -321,6 +322,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/webrtc_utility.target.linux-arm64.mk b/modules/webrtc_utility.target.linux-arm64.mk
index 5f4c4cc5..383c5cd2 100644
--- a/modules/webrtc_utility.target.linux-arm64.mk
+++ b/modules/webrtc_utility.target.linux-arm64.mk
@@ -273,6 +273,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -286,6 +287,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/webrtc_utility.target.linux-mips.mk b/modules/webrtc_utility.target.linux-mips.mk
index a174a375..b28f6e5d 100644
--- a/modules/webrtc_utility.target.linux-mips.mk
+++ b/modules/webrtc_utility.target.linux-mips.mk
@@ -293,6 +293,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -308,6 +309,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/webrtc_utility.target.linux-x86.mk b/modules/webrtc_utility.target.linux-x86.mk
index fb5e78e4..40b8730e 100644
--- a/modules/webrtc_utility.target.linux-x86.mk
+++ b/modules/webrtc_utility.target.linux-x86.mk
@@ -285,6 +285,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -300,6 +301,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/webrtc_utility.target.linux-x86_64.mk b/modules/webrtc_utility.target.linux-x86_64.mk
index eb869fc8..a3ace7d7 100644
--- a/modules/webrtc_utility.target.linux-x86_64.mk
+++ b/modules/webrtc_utility.target.linux-x86_64.mk
@@ -283,6 +283,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -298,6 +299,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/webrtc_video_coding.target.darwin-arm.mk b/modules/webrtc_video_coding.target.darwin-arm.mk
index 42355706..9bc92925 100644
--- a/modules/webrtc_video_coding.target.darwin-arm.mk
+++ b/modules/webrtc_video_coding.target.darwin-arm.mk
@@ -307,6 +307,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -324,6 +325,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/webrtc_video_coding.target.darwin-arm64.mk b/modules/webrtc_video_coding.target.darwin-arm64.mk
index aff331aa..1f110c03 100644
--- a/modules/webrtc_video_coding.target.darwin-arm64.mk
+++ b/modules/webrtc_video_coding.target.darwin-arm64.mk
@@ -276,6 +276,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -289,6 +290,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/webrtc_video_coding.target.darwin-mips.mk b/modules/webrtc_video_coding.target.darwin-mips.mk
index dec1a43b..89b1e0ea 100644
--- a/modules/webrtc_video_coding.target.darwin-mips.mk
+++ b/modules/webrtc_video_coding.target.darwin-mips.mk
@@ -296,6 +296,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -311,6 +312,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/webrtc_video_coding.target.darwin-x86.mk b/modules/webrtc_video_coding.target.darwin-x86.mk
index 44f3dcdb..8272c746 100644
--- a/modules/webrtc_video_coding.target.darwin-x86.mk
+++ b/modules/webrtc_video_coding.target.darwin-x86.mk
@@ -288,6 +288,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -303,6 +304,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/webrtc_video_coding.target.darwin-x86_64.mk b/modules/webrtc_video_coding.target.darwin-x86_64.mk
index 3be48471..7d85a63d 100644
--- a/modules/webrtc_video_coding.target.darwin-x86_64.mk
+++ b/modules/webrtc_video_coding.target.darwin-x86_64.mk
@@ -286,6 +286,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -301,6 +302,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/webrtc_video_coding.target.linux-arm.mk b/modules/webrtc_video_coding.target.linux-arm.mk
index 42355706..9bc92925 100644
--- a/modules/webrtc_video_coding.target.linux-arm.mk
+++ b/modules/webrtc_video_coding.target.linux-arm.mk
@@ -307,6 +307,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -324,6 +325,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/modules/webrtc_video_coding.target.linux-arm64.mk b/modules/webrtc_video_coding.target.linux-arm64.mk
index aff331aa..1f110c03 100644
--- a/modules/webrtc_video_coding.target.linux-arm64.mk
+++ b/modules/webrtc_video_coding.target.linux-arm64.mk
@@ -276,6 +276,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -289,6 +290,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/webrtc_video_coding.target.linux-mips.mk b/modules/webrtc_video_coding.target.linux-mips.mk
index dec1a43b..89b1e0ea 100644
--- a/modules/webrtc_video_coding.target.linux-mips.mk
+++ b/modules/webrtc_video_coding.target.linux-mips.mk
@@ -296,6 +296,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -311,6 +312,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/webrtc_video_coding.target.linux-x86.mk b/modules/webrtc_video_coding.target.linux-x86.mk
index 44f3dcdb..8272c746 100644
--- a/modules/webrtc_video_coding.target.linux-x86.mk
+++ b/modules/webrtc_video_coding.target.linux-x86.mk
@@ -288,6 +288,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -303,6 +304,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/modules/webrtc_video_coding.target.linux-x86_64.mk b/modules/webrtc_video_coding.target.linux-x86_64.mk
index 3be48471..7d85a63d 100644
--- a/modules/webrtc_video_coding.target.linux-x86_64.mk
+++ b/modules/webrtc_video_coding.target.linux-x86_64.mk
@@ -286,6 +286,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -301,6 +302,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/system_wrappers/source/cpu_features_android.target.darwin-arm.mk b/system_wrappers/source/cpu_features_android.target.darwin-arm.mk
index 79fbf62c..cc26fe5e 100644
--- a/system_wrappers/source/cpu_features_android.target.darwin-arm.mk
+++ b/system_wrappers/source/cpu_features_android.target.darwin-arm.mk
@@ -270,6 +270,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -287,6 +288,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/system_wrappers/source/cpu_features_android.target.darwin-arm64.mk b/system_wrappers/source/cpu_features_android.target.darwin-arm64.mk
index 275b69c9..c9e95b7e 100644
--- a/system_wrappers/source/cpu_features_android.target.darwin-arm64.mk
+++ b/system_wrappers/source/cpu_features_android.target.darwin-arm64.mk
@@ -239,6 +239,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -252,6 +253,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/system_wrappers/source/cpu_features_android.target.darwin-mips.mk b/system_wrappers/source/cpu_features_android.target.darwin-mips.mk
index bef12923..03121126 100644
--- a/system_wrappers/source/cpu_features_android.target.darwin-mips.mk
+++ b/system_wrappers/source/cpu_features_android.target.darwin-mips.mk
@@ -257,6 +257,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -272,6 +273,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/system_wrappers/source/cpu_features_android.target.darwin-x86.mk b/system_wrappers/source/cpu_features_android.target.darwin-x86.mk
index d7f40ffb..0a3a9c6b 100644
--- a/system_wrappers/source/cpu_features_android.target.darwin-x86.mk
+++ b/system_wrappers/source/cpu_features_android.target.darwin-x86.mk
@@ -251,6 +251,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -266,6 +267,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/system_wrappers/source/cpu_features_android.target.darwin-x86_64.mk b/system_wrappers/source/cpu_features_android.target.darwin-x86_64.mk
index 3e33e414..d3cab632 100644
--- a/system_wrappers/source/cpu_features_android.target.darwin-x86_64.mk
+++ b/system_wrappers/source/cpu_features_android.target.darwin-x86_64.mk
@@ -249,6 +249,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -264,6 +265,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/system_wrappers/source/cpu_features_android.target.linux-arm.mk b/system_wrappers/source/cpu_features_android.target.linux-arm.mk
index 79fbf62c..cc26fe5e 100644
--- a/system_wrappers/source/cpu_features_android.target.linux-arm.mk
+++ b/system_wrappers/source/cpu_features_android.target.linux-arm.mk
@@ -270,6 +270,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -287,6 +288,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/system_wrappers/source/cpu_features_android.target.linux-arm64.mk b/system_wrappers/source/cpu_features_android.target.linux-arm64.mk
index 275b69c9..c9e95b7e 100644
--- a/system_wrappers/source/cpu_features_android.target.linux-arm64.mk
+++ b/system_wrappers/source/cpu_features_android.target.linux-arm64.mk
@@ -239,6 +239,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -252,6 +253,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/system_wrappers/source/cpu_features_android.target.linux-mips.mk b/system_wrappers/source/cpu_features_android.target.linux-mips.mk
index bef12923..03121126 100644
--- a/system_wrappers/source/cpu_features_android.target.linux-mips.mk
+++ b/system_wrappers/source/cpu_features_android.target.linux-mips.mk
@@ -257,6 +257,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -272,6 +273,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/system_wrappers/source/cpu_features_android.target.linux-x86.mk b/system_wrappers/source/cpu_features_android.target.linux-x86.mk
index d7f40ffb..0a3a9c6b 100644
--- a/system_wrappers/source/cpu_features_android.target.linux-x86.mk
+++ b/system_wrappers/source/cpu_features_android.target.linux-x86.mk
@@ -251,6 +251,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -266,6 +267,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/system_wrappers/source/cpu_features_android.target.linux-x86_64.mk b/system_wrappers/source/cpu_features_android.target.linux-x86_64.mk
index 3e33e414..d3cab632 100644
--- a/system_wrappers/source/cpu_features_android.target.linux-x86_64.mk
+++ b/system_wrappers/source/cpu_features_android.target.linux-x86_64.mk
@@ -249,6 +249,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -264,6 +265,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/system_wrappers/source/system_wrappers.target.darwin-arm.mk b/system_wrappers/source/system_wrappers.target.darwin-arm.mk
index bce5845d..c2058606 100644
--- a/system_wrappers/source/system_wrappers.target.darwin-arm.mk
+++ b/system_wrappers/source/system_wrappers.target.darwin-arm.mk
@@ -319,6 +319,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -336,6 +337,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/system_wrappers/source/system_wrappers.target.darwin-arm64.mk b/system_wrappers/source/system_wrappers.target.darwin-arm64.mk
index f0e21dc3..f04dc0ef 100644
--- a/system_wrappers/source/system_wrappers.target.darwin-arm64.mk
+++ b/system_wrappers/source/system_wrappers.target.darwin-arm64.mk
@@ -288,6 +288,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -301,6 +302,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/system_wrappers/source/system_wrappers.target.darwin-mips.mk b/system_wrappers/source/system_wrappers.target.darwin-mips.mk
index 9ae79055..8267dfeb 100644
--- a/system_wrappers/source/system_wrappers.target.darwin-mips.mk
+++ b/system_wrappers/source/system_wrappers.target.darwin-mips.mk
@@ -306,6 +306,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -321,6 +322,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/system_wrappers/source/system_wrappers.target.darwin-x86.mk b/system_wrappers/source/system_wrappers.target.darwin-x86.mk
index bfd00add..5dfc04fc 100644
--- a/system_wrappers/source/system_wrappers.target.darwin-x86.mk
+++ b/system_wrappers/source/system_wrappers.target.darwin-x86.mk
@@ -300,6 +300,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -315,6 +316,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/system_wrappers/source/system_wrappers.target.darwin-x86_64.mk b/system_wrappers/source/system_wrappers.target.darwin-x86_64.mk
index 336867f2..47d48a13 100644
--- a/system_wrappers/source/system_wrappers.target.darwin-x86_64.mk
+++ b/system_wrappers/source/system_wrappers.target.darwin-x86_64.mk
@@ -298,6 +298,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -313,6 +314,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/system_wrappers/source/system_wrappers.target.linux-arm.mk b/system_wrappers/source/system_wrappers.target.linux-arm.mk
index bce5845d..c2058606 100644
--- a/system_wrappers/source/system_wrappers.target.linux-arm.mk
+++ b/system_wrappers/source/system_wrappers.target.linux-arm.mk
@@ -319,6 +319,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -336,6 +337,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/system_wrappers/source/system_wrappers.target.linux-arm64.mk b/system_wrappers/source/system_wrappers.target.linux-arm64.mk
index f0e21dc3..f04dc0ef 100644
--- a/system_wrappers/source/system_wrappers.target.linux-arm64.mk
+++ b/system_wrappers/source/system_wrappers.target.linux-arm64.mk
@@ -288,6 +288,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -301,6 +302,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/system_wrappers/source/system_wrappers.target.linux-mips.mk b/system_wrappers/source/system_wrappers.target.linux-mips.mk
index 9ae79055..8267dfeb 100644
--- a/system_wrappers/source/system_wrappers.target.linux-mips.mk
+++ b/system_wrappers/source/system_wrappers.target.linux-mips.mk
@@ -306,6 +306,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -321,6 +322,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/system_wrappers/source/system_wrappers.target.linux-x86.mk b/system_wrappers/source/system_wrappers.target.linux-x86.mk
index bfd00add..5dfc04fc 100644
--- a/system_wrappers/source/system_wrappers.target.linux-x86.mk
+++ b/system_wrappers/source/system_wrappers.target.linux-x86.mk
@@ -300,6 +300,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -315,6 +316,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/system_wrappers/source/system_wrappers.target.linux-x86_64.mk b/system_wrappers/source/system_wrappers.target.linux-x86_64.mk
index 336867f2..47d48a13 100644
--- a/system_wrappers/source/system_wrappers.target.linux-x86_64.mk
+++ b/system_wrappers/source/system_wrappers.target.linux-x86_64.mk
@@ -298,6 +298,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -313,6 +314,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/video_engine/video_engine_core.target.darwin-arm.mk b/video_engine/video_engine_core.target.darwin-arm.mk
index e131aebe..eb4a9785 100644
--- a/video_engine/video_engine_core.target.darwin-arm.mk
+++ b/video_engine/video_engine_core.target.darwin-arm.mk
@@ -306,6 +306,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -323,6 +324,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/video_engine/video_engine_core.target.darwin-arm64.mk b/video_engine/video_engine_core.target.darwin-arm64.mk
index 2e06c087..3bf3d920 100644
--- a/video_engine/video_engine_core.target.darwin-arm64.mk
+++ b/video_engine/video_engine_core.target.darwin-arm64.mk
@@ -275,6 +275,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -288,6 +289,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/video_engine/video_engine_core.target.darwin-mips.mk b/video_engine/video_engine_core.target.darwin-mips.mk
index d3c16d83..5a0d5691 100644
--- a/video_engine/video_engine_core.target.darwin-mips.mk
+++ b/video_engine/video_engine_core.target.darwin-mips.mk
@@ -293,6 +293,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -308,6 +309,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/video_engine/video_engine_core.target.darwin-x86.mk b/video_engine/video_engine_core.target.darwin-x86.mk
index 2e01bd5c..dedd1314 100644
--- a/video_engine/video_engine_core.target.darwin-x86.mk
+++ b/video_engine/video_engine_core.target.darwin-x86.mk
@@ -287,6 +287,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -302,6 +303,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/video_engine/video_engine_core.target.darwin-x86_64.mk b/video_engine/video_engine_core.target.darwin-x86_64.mk
index 170ad94a..bfcaa3a1 100644
--- a/video_engine/video_engine_core.target.darwin-x86_64.mk
+++ b/video_engine/video_engine_core.target.darwin-x86_64.mk
@@ -285,6 +285,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -300,6 +301,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/video_engine/video_engine_core.target.linux-arm.mk b/video_engine/video_engine_core.target.linux-arm.mk
index e131aebe..eb4a9785 100644
--- a/video_engine/video_engine_core.target.linux-arm.mk
+++ b/video_engine/video_engine_core.target.linux-arm.mk
@@ -306,6 +306,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -323,6 +324,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/video_engine/video_engine_core.target.linux-arm64.mk b/video_engine/video_engine_core.target.linux-arm64.mk
index 2e06c087..3bf3d920 100644
--- a/video_engine/video_engine_core.target.linux-arm64.mk
+++ b/video_engine/video_engine_core.target.linux-arm64.mk
@@ -275,6 +275,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -288,6 +289,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/video_engine/video_engine_core.target.linux-mips.mk b/video_engine/video_engine_core.target.linux-mips.mk
index d3c16d83..5a0d5691 100644
--- a/video_engine/video_engine_core.target.linux-mips.mk
+++ b/video_engine/video_engine_core.target.linux-mips.mk
@@ -293,6 +293,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -308,6 +309,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/video_engine/video_engine_core.target.linux-x86.mk b/video_engine/video_engine_core.target.linux-x86.mk
index 2e01bd5c..dedd1314 100644
--- a/video_engine/video_engine_core.target.linux-x86.mk
+++ b/video_engine/video_engine_core.target.linux-x86.mk
@@ -287,6 +287,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -302,6 +303,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/video_engine/video_engine_core.target.linux-x86_64.mk b/video_engine/video_engine_core.target.linux-x86_64.mk
index 170ad94a..bfcaa3a1 100644
--- a/video_engine/video_engine_core.target.linux-x86_64.mk
+++ b/video_engine/video_engine_core.target.linux-x86_64.mk
@@ -285,6 +285,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -300,6 +301,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/voice_engine/voice_engine.target.darwin-arm.mk b/voice_engine/voice_engine.target.darwin-arm.mk
index 976138bf..00443bd0 100644
--- a/voice_engine/voice_engine.target.darwin-arm.mk
+++ b/voice_engine/voice_engine.target.darwin-arm.mk
@@ -314,6 +314,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -331,6 +332,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/voice_engine/voice_engine.target.darwin-arm64.mk b/voice_engine/voice_engine.target.darwin-arm64.mk
index a92edb3e..4a9758f2 100644
--- a/voice_engine/voice_engine.target.darwin-arm64.mk
+++ b/voice_engine/voice_engine.target.darwin-arm64.mk
@@ -283,6 +283,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -296,6 +297,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/voice_engine/voice_engine.target.darwin-mips.mk b/voice_engine/voice_engine.target.darwin-mips.mk
index d30ac15e..9280e4bf 100644
--- a/voice_engine/voice_engine.target.darwin-mips.mk
+++ b/voice_engine/voice_engine.target.darwin-mips.mk
@@ -301,6 +301,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -316,6 +317,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/voice_engine/voice_engine.target.darwin-x86.mk b/voice_engine/voice_engine.target.darwin-x86.mk
index bcdb8ae5..bf24f0d5 100644
--- a/voice_engine/voice_engine.target.darwin-x86.mk
+++ b/voice_engine/voice_engine.target.darwin-x86.mk
@@ -295,6 +295,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -310,6 +311,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/voice_engine/voice_engine.target.darwin-x86_64.mk b/voice_engine/voice_engine.target.darwin-x86_64.mk
index 89703ff3..bf780ba6 100644
--- a/voice_engine/voice_engine.target.darwin-x86_64.mk
+++ b/voice_engine/voice_engine.target.darwin-x86_64.mk
@@ -293,6 +293,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -308,6 +309,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/voice_engine/voice_engine.target.linux-arm.mk b/voice_engine/voice_engine.target.linux-arm.mk
index 976138bf..00443bd0 100644
--- a/voice_engine/voice_engine.target.linux-arm.mk
+++ b/voice_engine/voice_engine.target.linux-arm.mk
@@ -314,6 +314,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -331,6 +332,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/voice_engine/voice_engine.target.linux-arm64.mk b/voice_engine/voice_engine.target.linux-arm64.mk
index a92edb3e..4a9758f2 100644
--- a/voice_engine/voice_engine.target.linux-arm64.mk
+++ b/voice_engine/voice_engine.target.linux-arm64.mk
@@ -283,6 +283,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -296,6 +297,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/voice_engine/voice_engine.target.linux-mips.mk b/voice_engine/voice_engine.target.linux-mips.mk
index d30ac15e..9280e4bf 100644
--- a/voice_engine/voice_engine.target.linux-mips.mk
+++ b/voice_engine/voice_engine.target.linux-mips.mk
@@ -301,6 +301,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -316,6 +317,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/voice_engine/voice_engine.target.linux-x86.mk b/voice_engine/voice_engine.target.linux-x86.mk
index bcdb8ae5..bf24f0d5 100644
--- a/voice_engine/voice_engine.target.linux-x86.mk
+++ b/voice_engine/voice_engine.target.linux-x86.mk
@@ -295,6 +295,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -310,6 +311,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/voice_engine/voice_engine.target.linux-x86_64.mk b/voice_engine/voice_engine.target.linux-x86_64.mk
index 89703ff3..bf780ba6 100644
--- a/voice_engine/voice_engine.target.linux-x86_64.mk
+++ b/voice_engine/voice_engine.target.linux-x86_64.mk
@@ -293,6 +293,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -308,6 +309,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/webrtc.target.darwin-arm.mk b/webrtc.target.darwin-arm.mk
index 15f35828..c20927aa 100644
--- a/webrtc.target.darwin-arm.mk
+++ b/webrtc.target.darwin-arm.mk
@@ -277,6 +277,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -294,6 +295,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/webrtc.target.darwin-arm64.mk b/webrtc.target.darwin-arm64.mk
index 9474235b..544ead9f 100644
--- a/webrtc.target.darwin-arm64.mk
+++ b/webrtc.target.darwin-arm64.mk
@@ -246,6 +246,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -259,6 +260,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/webrtc.target.darwin-mips.mk b/webrtc.target.darwin-mips.mk
index cfb65749..ee85ed80 100644
--- a/webrtc.target.darwin-mips.mk
+++ b/webrtc.target.darwin-mips.mk
@@ -264,6 +264,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -279,6 +280,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/webrtc.target.darwin-x86.mk b/webrtc.target.darwin-x86.mk
index 72ccc608..25e17352 100644
--- a/webrtc.target.darwin-x86.mk
+++ b/webrtc.target.darwin-x86.mk
@@ -258,6 +258,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -273,6 +274,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/webrtc.target.darwin-x86_64.mk b/webrtc.target.darwin-x86_64.mk
index 86338a9b..6720fbfa 100644
--- a/webrtc.target.darwin-x86_64.mk
+++ b/webrtc.target.darwin-x86_64.mk
@@ -256,6 +256,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -271,6 +272,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/webrtc.target.linux-arm.mk b/webrtc.target.linux-arm.mk
index 15f35828..c20927aa 100644
--- a/webrtc.target.linux-arm.mk
+++ b/webrtc.target.linux-arm.mk
@@ -277,6 +277,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -294,6 +295,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/webrtc.target.linux-arm64.mk b/webrtc.target.linux-arm64.mk
index 9474235b..544ead9f 100644
--- a/webrtc.target.linux-arm64.mk
+++ b/webrtc.target.linux-arm64.mk
@@ -246,6 +246,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -259,6 +260,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/webrtc.target.linux-mips.mk b/webrtc.target.linux-mips.mk
index cfb65749..ee85ed80 100644
--- a/webrtc.target.linux-mips.mk
+++ b/webrtc.target.linux-mips.mk
@@ -264,6 +264,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -279,6 +280,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/webrtc.target.linux-x86.mk b/webrtc.target.linux-x86.mk
index 72ccc608..25e17352 100644
--- a/webrtc.target.linux-x86.mk
+++ b/webrtc.target.linux-x86.mk
@@ -258,6 +258,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -273,6 +274,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/webrtc.target.linux-x86_64.mk b/webrtc.target.linux-x86_64.mk
index 86338a9b..6720fbfa 100644
--- a/webrtc.target.linux-x86_64.mk
+++ b/webrtc.target.linux-x86_64.mk
@@ -256,6 +256,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -271,6 +272,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/webrtc_common.target.darwin-arm.mk b/webrtc_common.target.darwin-arm.mk
index cc151521..2321a28d 100644
--- a/webrtc_common.target.darwin-arm.mk
+++ b/webrtc_common.target.darwin-arm.mk
@@ -271,6 +271,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -288,6 +289,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/webrtc_common.target.darwin-arm64.mk b/webrtc_common.target.darwin-arm64.mk
index d5122112..280a249d 100644
--- a/webrtc_common.target.darwin-arm64.mk
+++ b/webrtc_common.target.darwin-arm64.mk
@@ -240,6 +240,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -253,6 +254,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/webrtc_common.target.darwin-mips.mk b/webrtc_common.target.darwin-mips.mk
index eff9c5d9..006649f6 100644
--- a/webrtc_common.target.darwin-mips.mk
+++ b/webrtc_common.target.darwin-mips.mk
@@ -258,6 +258,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -273,6 +274,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/webrtc_common.target.darwin-x86.mk b/webrtc_common.target.darwin-x86.mk
index 2e332012..4a28e9d6 100644
--- a/webrtc_common.target.darwin-x86.mk
+++ b/webrtc_common.target.darwin-x86.mk
@@ -252,6 +252,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -267,6 +268,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/webrtc_common.target.darwin-x86_64.mk b/webrtc_common.target.darwin-x86_64.mk
index 426ffe60..c65a9c55 100644
--- a/webrtc_common.target.darwin-x86_64.mk
+++ b/webrtc_common.target.darwin-x86_64.mk
@@ -250,6 +250,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -265,6 +266,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/webrtc_common.target.linux-arm.mk b/webrtc_common.target.linux-arm.mk
index cc151521..2321a28d 100644
--- a/webrtc_common.target.linux-arm.mk
+++ b/webrtc_common.target.linux-arm.mk
@@ -271,6 +271,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
@@ -288,6 +289,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--icf=safe \
-Wl,-O1 \
-Wl,--as-needed \
diff --git a/webrtc_common.target.linux-arm64.mk b/webrtc_common.target.linux-arm64.mk
index d5122112..280a249d 100644
--- a/webrtc_common.target.linux-arm64.mk
+++ b/webrtc_common.target.linux-arm64.mk
@@ -240,6 +240,7 @@ LOCAL_LDFLAGS_Debug := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -253,6 +254,7 @@ LOCAL_LDFLAGS_Release := \
-fPIC \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/webrtc_common.target.linux-mips.mk b/webrtc_common.target.linux-mips.mk
index eff9c5d9..006649f6 100644
--- a/webrtc_common.target.linux-mips.mk
+++ b/webrtc_common.target.linux-mips.mk
@@ -258,6 +258,7 @@ LOCAL_LDFLAGS_Debug := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -273,6 +274,7 @@ LOCAL_LDFLAGS_Release := \
-Wl,--no-keep-memory \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/webrtc_common.target.linux-x86.mk b/webrtc_common.target.linux-x86.mk
index 2e332012..4a28e9d6 100644
--- a/webrtc_common.target.linux-x86.mk
+++ b/webrtc_common.target.linux-x86.mk
@@ -252,6 +252,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -267,6 +268,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \
diff --git a/webrtc_common.target.linux-x86_64.mk b/webrtc_common.target.linux-x86_64.mk
index 426ffe60..c65a9c55 100644
--- a/webrtc_common.target.linux-x86_64.mk
+++ b/webrtc_common.target.linux-x86_64.mk
@@ -250,6 +250,7 @@ LOCAL_LDFLAGS_Debug := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,--warn-shared-textrel \
-Wl,-O1 \
-Wl,--as-needed
@@ -265,6 +266,7 @@ LOCAL_LDFLAGS_Release := \
-fuse-ld=gold \
-nostdlib \
-Wl,--no-undefined \
+ -Wl,--exclude-libs=ALL \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections \