components/desktop/firefox/patches/firefox-49-freebl-as.patch
author Norm Jacobs <Norm.Jacobs@Oracle.COM>
Sun, 03 Apr 2016 21:48:42 -0700
changeset 5786 5754dc3ac5eb
permissions -rw-r--r--
23059422 firefox/thunderbird should use the supplied compiler

#
# Building freebl should use the supplied top level compiler to drive the
# assembler and not whichever gcc it happens to pick up.
#
--- a/security/nss/lib/freebl/Makefile	Mon Dec 21 14:32:54 2015
+++ b/security/nss/lib/freebl/Makefile	Sun Apr  3 18:03:44 2016
@@ -426,8 +426,8 @@
 else
     # Solaris for non-sparc family CPUs
     ifdef NS_USE_GCC
-	LD = gcc
-	AS = gcc
+	LD = $(CC)
+	AS = $(CC)
 	ASFLAGS = -x assembler-with-cpp
     endif
     ifeq ($(USE_64),1)