# HG changeset patch # User Mike Hommey # Date 1547157962 0 # Node ID 1c8e5a4781fc7fe9ccd63012c6dc61bac25fc459 # Parent 65e4f653b84a3436b6c2f0ae6182dfa239daa042 Bug 1519042 - Remove special case adding -xgot assembly flag on NetBSD. r=ted None of the values tested against OS_TEST are actually possible per split_triplet in build/moz.configure/init.configure, so the code is dead in practice. Differential Revision: https://phabricator.services.mozilla.com/D16161 diff --git a/config/rules.mk b/config/rules.mk --- a/config/rules.mk +++ b/config/rules.mk @@ -298,25 +298,16 @@ endif ifeq ($(OS_ARCH),Darwin) ifdef SHARED_LIBRARY _LOADER_PATH := @executable_path EXTRA_DSO_LDOPTS += -dynamiclib -install_name $(_LOADER_PATH)/$(SHARED_LIBRARY) -compatibility_version 1 -current_version 1 -single_module endif endif -ifeq ($(OS_ARCH),NetBSD) -ifneq (,$(filter arc cobalt hpcmips mipsco newsmips pmax sgimips,$(OS_TEST))) -ifneq (,$(filter layout/%,$(relativesrcdir))) -OS_CFLAGS += -Wa,-xgot -OS_CXXFLAGS += -Wa,-xgot -endif -endif -endif - ifdef SYMBOLS_FILE ifeq ($(OS_TARGET),WINNT) ifndef GNU_CC EXTRA_DSO_LDOPTS += -DEF:$(call normalizepath,$(SYMBOLS_FILE)) else EXTRA_DSO_LDOPTS += $(call normalizepath,$(SYMBOLS_FILE)) endif else