https://bugzilla.mozilla.org/show_bug.cgi?id=583666 https://bugs.gentoo.org/show_bug.cgi?id=327619 --- security/coreconf/Linux.mk +++ security/coreconf/Linux.mk @@ -174,7 +174,7 @@ ARCH = linux DSO_CFLAGS = -fPIC -DSO_LDOPTS = -shared $(ARCHFLAG) -Wl,-z,defs +DSO_LDOPTS = $(LDFLAGS) -shared $(ARCHFLAG) -Wl,-z,defs DSO_LDFLAGS = LDFLAGS += $(ARCHFLAG)