Bug 717906 - Enable NSS lowhash API so that Mozilla builds work on Fedora. r=rrelyea
authorMike Hommey <mh+mozilla@glandium.org>
Thu, 19 Jan 2012 08:19:48 +0100
changeset 86105 757813d7135ed5001e87a74298c46db3ad4f6a92
parent 86104 44eadf6de374ac1b176984ab7d630727e75c49fe
child 86106 ee34d8fb535d65f05be6aba30f23b8f04df177b2
push id805
push userakeybl@mozilla.com
push dateWed, 01 Feb 2012 18:17:35 +0000
treeherdermozilla-aurora@6fb3bf232436 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrrelyea
bugs717906
milestone12.0a1
Bug 717906 - Enable NSS lowhash API so that Mozilla builds work on Fedora. r=rrelyea
security/manager/Makefile.in
--- a/security/manager/Makefile.in
+++ b/security/manager/Makefile.in
@@ -269,16 +269,19 @@ endif
 ifdef WRAP_LDFLAGS
 DEFAULT_GMAKE_FLAGS += \
 	LDFLAGS="$(LDFLAGS) $(WRAP_LDFLAGS)" \
 	DSO_LDOPTS="-shared $(LDFLAGS) $(WRAP_LDFLAGS)" \
 	$(NULL)
 endif
 
 DEFAULT_GMAKE_FLAGS += FREEBL_NO_DEPEND=0
+ifeq ($(OS_TARGET),Linux)
+DEFAULT_GMAKE_FLAGS += FREEBL_LOWHASH=1
+endif
 
 SUBMAKEFILES = boot/Makefile ssl/Makefile pki/Makefile locales/Makefile
 
 include $(topsrcdir)/config/rules.mk
 
 ifdef MOZ_NSS_PATCH
 # If we're applying a patch, we'll copy the NSS source to the objdir
 # and build it from there.