Respect LDFLAGS http://bugs.gentoo.org/show_bug.cgi?id=327619 --- mozilla/security/coreconf/Linux.mk +++ mozilla/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)