From 28376bb4f99c57f91fc8eeffd18c26adb71a79ba Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Thu, 10 Jan 2019 22:06:02 +0000 Subject: [PATCH] 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 --HG-- extra : moz-landing-system : lando --- config/rules.mk | 9 --------- 1 file changed, 9 deletions(-) diff --git a/config/rules.mk b/config/rules.mk index 0cd41a4e239d..4576ebf1bfa1 100644 --- a/config/rules.mk +++ b/config/rules.mk @@ -319,15 +319,6 @@ EXTRA_DSO_LDOPTS += -dynamiclib -install_name $(_LOADER_PATH)/$(SHARED_LIBRARY) 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