Bug 1743539 - Remove -single_module from linker flags on mac. r=firefox-build-system-reviewers,mhentges

It is the default. It has been the default since at least Xcode 2.2,
from 2005. ld64 doesn't say anything, but lld warns about it.

Differential Revision: https://phabricator.services.mozilla.com/D132447
This commit is contained in:
Mike Hommey 2021-11-30 21:39:50 +00:00
parent 9e8fdcc107
commit e9ae64eacd

View File

@ -270,7 +270,7 @@ endif
ifeq ($(OS_ARCH),Darwin)
ifneq (,$(SHARED_LIBRARY))
_LOADER_PATH := @executable_path
EXTRA_DSO_LDOPTS += -dynamiclib -install_name $(_LOADER_PATH)/$@ -compatibility_version 1 -current_version 1 -single_module
EXTRA_DSO_LDOPTS += -dynamiclib -install_name $(_LOADER_PATH)/$@ -compatibility_version 1 -current_version 1
endif
endif